How to customize posts in WordPress by using HTML and CSS?

the first thing you need to do is implementing the html template you desire to something that called wordpress template hierarchy is good to start with blank wordpress theme like underscores.me, so you can freely custom your own template so, after your files is ready, you can learn about wordpress theme customizer im giving you … Read more

remove author and date from all posts [closed]

For those who have the same issue, I solved it by doing the following: Within Apparence -> Customize -> Blog Post Options -> uncheck “post Date” uncheck “post Author” These settings, removed the author and date from the post. Then, commenting the following line from single.php /*$cmsms_post_author_box = get_post_meta(get_the_ID(), ‘cmsms_post_author_box’, true);*/ And then, I’ve changed … Read more

CSS messes up when CACHE is cleared

Caching is usually an issue with the visitor’s browser. Sometimes they won’t get a change that you have made to a page. So a Ctrl+F5 will force a reload of everything. If you have enabled caching on the back-end (usually with a plugin), then you may need to rebuild the cache for that page. If … Read more

Problem with ms-thumb-frame-selected class in Master Slider

Seems you are simply overwriting #masterslider .ms-thumb-frame-selected with each loop. So in the end only the last iteration will take effect. You maybe need to add the post ID as class somewhere as well and then target #masterslider .ms-thumb-frame-selected .post-<?php echo $post->ID; ?> { } in your CSS. Adjust your markup inside The Loop to … Read more

Eliminate Render blocking CSS?

Generally you can’t impact when and how your plugins are loading their own stylesheets. Messing around with that will usually mean you can never update because it’ll reset all your work. That’s the trade off of using plugins – you lose control over some things that impact your performance, accessiblity, and validation. Without astronomical budgets … Read more

Change a div background color on Post ID

This may not solve the problem necessary because there may be other rules in your theme that have higher specificity and will overrule your selectors but You need to combine the selector together, like so: .postid-6238.inside-article { background-color: #393939; } That selector will choose for all elements that have BOTH the classes .postid-6238 and .inside-article … Read more

Custom CSS File wont work on second Page

Sounds like your are not creating a proper WordPress template when you copy your index.php. Here you can find the list of standard template files: https://codex.wordpress.org/Theme_Development#id=%22Template_Files_List%22 And here you can learn how to create a custom template: https://codex.wordpress.org/Theme_Development#Custom_Page_Templates My guess is you need to add the following to the top of your index copy. Then … Read more