Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #753347

    NCasbar
    Participant

    Hello,

    I would like to change the accordion element to #004b87 and change the text to Open Sans. How should I go about doing that? I tried declaring the class, then using .services-accordion{ color: #004b87}, but that only changed the color of the font. I would like to change the color and the text inside of the header box. Please see attachment.

    http://b70.95c.myftpupload.com/services-2/?cornerstone=1

    Thanks

    #753708

    Nabeel A
    Moderator

    Hi there,

    Thank you for writing in! To style the accordion, just add the following code in your Customizer via Appearance > Customize > Custom > CSS:

    .x-accordion-heading .x-accordion-toggle {
        background-color: #004b87 !important;
    }
    .x-accordion-heading .x-accordion-toggle.collapsed {
        background-color: #004b87 !important;
    }
    .x-accordion-inner {
        font-family: "open sans" !important;
    }

    Let us know how this goes!