WordPress.org

Forums

Customizr
[resolved] Change body text color of just one page? (4 posts)

  1. campana.agustin
    Member
    Posted 1 year ago #

    Hi I am trying to change the text color of the body of my contact page. I have read the post: http://wordpress.org/support/topic/change-customizr-background?replies=6
    where it says we can do this:
    body.page {
    / * Adjust the Image location 'wp-content/uploads/NAMEOFFILE.png' * /
    background: url (/ wp-content/uploads/NAMEOFFILE.png) repeat fixed 0 0;
    }
    I use:
    body.contacto {
    color: # 000;
    }

    My page is: hvcweb.com.ar/contacto

    The change that I do not work, the text of the page still does not change color. What can it be?

    Thanks in advance.

  2. d4z_c0nf
    Member
    Posted 1 year ago #

    Well, rdell for "page" meant "page".
    body.page is a selector for the body of all "page"s (I mean, not for archive, or posts etc).
    That's the body tag for the page you linked:
    <body class="page page-id-48 page-template-default" itemscope itemtype="http://schema.org/WebPage">
    so you can use

    body.page for all "page"s and, in your case
    body.page-id-48 for that specific page

    Hope this helps

  3. campana.agustin
    Member
    Posted 1 year ago #

    thanks d4z_c0nf now works

  4. Helwan
    Member
    Posted 1 year ago #

    You can to check my website in the below URL.

    http://rgi-uniform.com/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic