Support » Fixing WordPress » ccs code to change color of “services” “CTA” and “footer”

  • I have the unconditional theme (wordpress version 4.7.5) and want to change the color of ‘menu 1’, ‘services’ and the footer area from black to white. This will also mean I need to change the text in ‘menu 1’ and ‘services’ from white to black. I would also like to change the red color in the ‘CTA’ and ‘services’ to blue. Thank you. My domain is http://www.wordrebel.org – Please let me know the CCS code to make these changes. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Menu:

    .navbar-trans {
        background-color: #fff;
    }
    .navbar-nav > li > a {
        color: #000;
    }

    CTA

    .box > .icon > .image {
       background-color: blue;
    }
    .box > .icon:hover > .image {
        background-color: someothercolorhere;
    }

    To add CSS:

    • If you are using WordPress 4.7, use the “Additional CSS” option in the customizer.
    • If your theme has a custom CSS option, use that to add the CSS shown above.
    • If not, install the plugin Simple Custom CSS.

    Learn to use the Chrome Developer Tools to help you see and test changes to your CSS.

    The developers and users of that theme would be the best people to ask additional questions. You can reach them here:

    https://wordpress.org/support/theme/unconditional

    Note, however, that the authors no longer seem to support it, so in the long term, you might consider another theme.

    Use Google Chrome “inspect” to find the CSS to change. Here is the CSS for the header

    
    .navbar-trans {
        background-color: #fff !important;
    }
    
    .navbar-nav > li > a {
        color: #000 !important;
    }
    

    Also, make sure you are using a child theme for the CSS changes. Otherwise you will lose the changes upon updating.

    Thank you both of those worked.
    What is the code to change the nav bar and services text to black? and the footer area and “services” backgrounds and boxes to white?

    If I change my website theme won’t I lose my content, widgets, etc?

    Thank you again so much

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Forum Moderator & Support Team Volunteer

    Changing the theme will not change your content, just the way it’s displayed. If you use the Custom CSS stuff I recommended, you do not need to make a child theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ccs code to change color of “services” “CTA” and “footer”’ is closed to new replies.