Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #651725

    Hi there,
    I´m asking myself if it´s posible to add some Color to the Akkordeon? I´ve added one today but it´s just (boring) plain white. Is there a way to do that?

    Thanks

    Steffi

    #651810

    Hey Hautzeit,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    /* Accordion Tabs Color*/
    
    .av_toggle_section:nth-child(1) .toggler, .av_toggle_section:nth-child(1) .toggler:hover {
    background: red!important;
    }
    
    .av_toggle_section:nth-child(2) .toggler, .av_toggle_section:nth-child(2) .toggler:hover {
    background: gold!important;
    }
    
    .av_toggle_section:nth-child(3) .toggler, .av_toggle_section:nth-child(3) .toggler:hover {
    background: green!important;
    }

    Best regards,
    Vinay

    #651909

    Hey Vinay,

    thanks for the quick replay. It works – but how can I make the Colors more “mine”, so that they fit to my Website? Can I replace the “Red”, “Gold”, “Green” and use a color hexcode instead – #66999……. oh, and can I change the Fontcolor also? Let´s say I want a Akkordeon in #669999 with a white Font….I´m not good in css – sorry….

    Thanks!

    Steffi

    • This reply was modified 8 years, 6 months ago by Hautzeit.
    #651968

    Hi,

    Yes that is possible, please replace red, gree, gold to any hex value to suit your design and add color:#FFF; below the background rule to every css block to change the font color.

    .av_toggle_section:nth-child(1) .toggler, .av_toggle_section:nth-child(1) .toggler:hover {
    background: red!important;
    color: #FFF;
    }

    Best regards,
    Vinay

    #652014

    Works like a charm – thank you so much!

    Best regards

    Steffi

    #652516

    Hi Steffi,

    Great, glad we could help :-)

    Best regards,
    Rikard

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