Home › Forums › Pro Themes › Photo Perfect Pro › Content background color
Tagged: background color
- This topic has 9 replies, 2 voices, and was last updated 7 years ago by
wensolutions.
-
AuthorPosts
-
March 6, 2018 at 2:28 am #67283
IOANNIS MARKANTONAKIS
ParticipantEverything in my page (http://ymarkantonakis.com/) is black except one thing: I need to change the white text content background to black ONLY in my front page. If I want to change it also to the rest of the pages, what is the proper code? Thanks in advance.
March 6, 2018 at 2:38 am #67284wensolutions
KeymasterHello @jmarkantonakis,
To change the content background color to black only on homepage use below given CSS.
For this go to Admin Panel > Appearance > Customize > Additional CSS andpaste below given CSS.
.home.page #main { background: #0c000b; }
Hope this helps.
Best Regards!!
Have a good day 🙂 .
March 6, 2018 at 2:44 am #67285IOANNIS MARKANTONAKIS
ParticipantI just did that and there is a thin grey frame around the field…is it changeable? And about the rest of the pages? Thanks for the swift answer……
March 6, 2018 at 2:49 am #67286wensolutions
KeymasterHello @jmarkantonakis,
Yes, you can change the thin grey line and for that use below given CSS.
.home #main { box-shadow: 0 0 1px #0c000b; }
Also, we not quite clear whether you want to change the content background color for the entire page or just for the front page. So please explain properly so that we can help you.
Best Regards!!
March 6, 2018 at 2:54 am #67289IOANNIS MARKANTONAKIS
ParticipantFirst of all thank you for the answers…. I made the changes you advised, I can see the results on the editor, I published the page and no change is visible!!!
About the extend of the black background change, I need the option either ONLY fro the HOME page, or a number of pages….March 6, 2018 at 3:21 am #67290wensolutions
KeymasterHello @jmarkantonakis,
When we inspected your site URL, we found that the CSS is working fine.
The CSS we have provided will only work for the home page and that is what you have mentioned.
Let us know if you have any confusion further.
Best Regards!!
March 6, 2018 at 3:24 am #67291IOANNIS MARKANTONAKIS
ParticipantYou are right….The page works fine… The only thing I need is to turn black the white background of the “portfolio” page….
March 6, 2018 at 4:48 am #67293wensolutions
KeymasterHello @jmarkantonakis,
To turn the background of the “portfolio” page black use below given CSS.
.page-id-95 #main { background: none repeat scroll 0 0 #0c000b; box-shadow: none; }
Hope this helps.
Best Regards!!
March 6, 2018 at 8:45 am #67296IOANNIS MARKANTONAKIS
ParticipantThank you very much….
March 6, 2018 at 10:23 pm #67349wensolutions
KeymasterHello @jmarkantonakis,
Glad we could help you !!
If you have any issues further, please feel free to post your queries and we will happily help you further.
We will really appreciate if you could help us too by rating our theme in WordPress repo here:-
https://wordpress.org/support/theme/photo-perfect/reviews/
Best regards !!
-
AuthorPosts
- You must be logged in to reply to this topic.