Tagged: x
-
AuthorPosts
-
January 26, 2017 at 2:37 pm #1346770
Nick FParticipantHi,
My site is http://www.thetemperancemovement.com
When i click on any post to see it full page, i’d like to darken either the post container or the whole background so that the background image doesn’t interfere with reading the text. How do i do this?
Also, how would i change the image just for the single post page?kind regards,
Nick
January 26, 2017 at 4:24 pm #1346906
NicoModeratorHi There,
Thanks for writing in.
Add this in your Customizer > Custom > CSS:
To change the container,
.postid-8298 x-main left{ background:#000; padding:10px; }To change the whole background color:
.postid-8298 .site{ background:#000; padding:10px; }To add the CSS on a specific page, just adjust the class .postid-8298 in the suggested CSS code above.
To locate the post ID check the link below:
https://community.theme.co/kb/how-to-locate-post-ids/
Or use browser inspector and check the class in the body because id class is shown in the body class.
Hope it helps.
Thanks.
January 27, 2017 at 8:35 am #1347791
Nick FParticipantThank you. However, i want to change the background on every single post, not just id8298
regards,
Nick
January 27, 2017 at 12:34 pm #1348046
JadeModeratorHi Nick,
To change the background for all single post, please use this:
.single-post x-main left{ background:#000; padding:10px; } .single-post .site{ background:#000; padding:10px; }Hope this helps.
January 27, 2017 at 1:37 pm #1348122
Nick FParticipantGreat, Thanks
January 27, 2017 at 1:57 pm #1348151
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1346770 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
