Accordion Vertical Title Bar Color

edited March 2017 in Shortcodes
Hello, 

I have searched through the forum, and I could not find anything that would work on my site. I am trying to change the accordion title bar color on my website. One specific page it is being used on is: http://frost.frostpllc.com/tax-services/ . I would like to change the background of the accordion to #c6d6e3 and then change the text to white. Is there a way to do this? 

On the same page, I would also like to know how I can color the widgetised sidebar menu without effecting the menus within the footer of the theme? The title and surrounding color, as well as the alternate hover colors. 

Thank you all for being so helpful!

Comments

  • Hi,
    for the accordion color use
    .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-heading {
    background-color: #c6d6e3 !important;
    }
    .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title>a {
    color: white !important;
    }
    Hi, the customization of the sidebar can be done only with css.

    thanks
  • edited March 2017
    Thank you so much!! The accordion css worked perfectly. :D Could you also help me with turning the icon white on the accordion? 

    Could you please provide me with the css for the sidebar colors as well? 
  • Yes, but how do you want it to look, what colors etc.
  • Here you go:

    I would like the background to be #01384f
    I would like the hover background color to be #c6d6e3
    Then, for both I would like the text to be white. 

    Thank you!!
  • Also, I would like the icon on the accordion to be white. :)
  • Here you go
    .widget_mfn_menu ul li a:hover {
    background:#c6d6e3 !important;
    }
    .widget_mfn_menu ul li.current-menu-item:not(.current-menu-ancestor) > a, .widget_mfn_menu ul li.current_page_item:not(.current_page_ancestor) > a {
    background:#01384f;
    }
    .vc_tta-color-grey.vc_tta-style-flat .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::after, .vc_tta-color-grey.vc_tta-style-flat .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::before, .vc_tta-color-grey.vc_tta-style-flat .vc_tta-controls-icon::after, .vc_tta-color-grey.vc_tta-style-flat .vc_tta-controls-icon::before {
    border-color: white !important;
    }
  • It worked perfectly! Thank you so much! :D
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.