Home Forums Pro Themes Photo Perfect Pro Content background color

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #67283

    Everything 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.

    #67284
    wensolutions
    Keymaster

    Hello @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 🙂 .

    #67285

    I 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……

    #67286
    wensolutions
    Keymaster

    Hello @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!!

    #67289

    First 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….

    #67290
    wensolutions
    Keymaster

    Hello @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!!

    #67291

    You are right….The page works fine… The only thing I need is to turn black the white background of the “portfolio” page….

    #67293
    wensolutions
    Keymaster

    Hello @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!!

    #67296

    Thank you very much….

    #67349
    wensolutions
    Keymaster

    Hello @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 !!

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.