How can I add the Post ID to Class Name in Jquery?

You are using css to display none we don’t need to use show() function. Please click on javascript icon in fiddle and select any jquery1.9.1 or above version . Update this code and run ( http://screenshotlink.ru/8f491216a33e437f762eb8815efec77d.png ) $(document).ready(function(){ $(‘.share-icon’).on(‘click’,function (e) { var id = $(this).attr(“id”).split(‘-‘); $(‘.post-share#post-share-‘+id[2]).css(“display”,”block”); }); });

WordPress Admin Thickbox: Remove Margins/Padding

You can use this for a custom stylesheet. Copy and paste all the CSS from the original thickbox.css in your custom stylesheet. Now you can edit your custom CSS and add the code below in your plugin. function get_thickbox() { // Add the original thickbox add_thickbox(); // register your custom stylesheet // Make sure its … Read more

Vertical aligning CSS pushes column to left [closed]

You need to give that element a right value. I think maybe your still expecting the float left to align it. But once you position an element absolute, the element is taken out of the flow of normal elements. right: 0;

Loading css files conditionally useful?

There is no hard rule on this. Loading JS is discussed often because JS is more likely to conflict when a lot of plugins throw their scripts into the mix. CSS is less problematic in that regard. Still the same premise apply — you should aim for solution that performs well. In a situation you … Read more

Custom Theme, Editor won’t wrap text (i.e. change width)

This is normal behaviour. First, the class second_column of your site is set to max-width:100%. This means it has no fixed width. You won’t notice this on a pc screen, but if you reduce you browsers width to mobile size, you will see the text column becoming narrower. This is good, because it means that … Read more

How to change in css with a custom theme?

Since you are working on a child theme you could try the following. This requires that you have removed @import from your child themes style.css or removed the hook, that loads the parent stylesheet in your child themes functions.php. Add this to your functions.php in the child theme: function wp_enq_theme_styles() { $parent_style=”parent-style”; wp_enqueue_style( ‘parent-style’, get_template_directory_uri() … Read more

Speed issues because of CSS & JavaScript

There are so many errors, image are not optimized and some links are returning 404. eg: http://julietloves.co.in/wp-content/uploads/2016/08/55-1.png http://julietloves.co.in/wp-content/uploads/2016/08/TAG-168×42.png I will recommend you to optimize all images using optimizilla.com and re-upload it. After that install “W3 Total Cache” it will help fix server response time issue. howlthemes.com/wordpress-caching-w3-total-cache-setup-guide/ Still there are lots of issue best solution is … Read more