Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #675772

    Hi,

    I have a question about a roll-up window – I think this is the name. Anyway it is here
    http://dictionary.cambridge.org/dictionary/english/knee – a light blue stripe with Thesaurus. I want exactly the same thing.
    I would be grateful if you helped me with it.

    Best Regards

    Tom

    #675776

    Hey Tom!

    It is called Accordion and there is already an element called Accordion in Advanced Layout Builder.
    You can see examples here – http://kriesi.at/themes/enfold/shortcodes/toggles-accordions/

    Best regards,
    Yigit

    #675883

    Yes I have overlooked it! However one more question. Is there a way to change the colour of the toggle box’s background as well as the inside font?

    Tom

    #675974

    Hey!

    Yes, you would need some CSS to do it.
    When your page ius setuped, please let us know the colors and the changes and we will do them for you.

    Thanks a lot

    Best regards,
    Basilis

    #679741

    Hi again,
    If you could give me some code for the accordion as promised.

    The colour of the background of the accordion – 144e7d
    The colour of the font – f2f0f0

    If this could be true to all accordion on the website, I would appreciate.

    Tom

    #679984

    Hi,

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

    .toggle_content * {
        color: #f2f0f0!important;
    }
    .toggle_content {
        background: #144e7d!important;
    }
    

    Best regards,
    Yigit

    #680167

    Hi again,
    Sorry I think I was not clear. The code you provided me with changed the colour of the roll-up window.

    I wanted to change the colour of the box with the inscription SEE MORE EXAMPLES Have a look at the link – http://babeldictionary.net/audibly-adverb/#toggle-id-1

    The colour of the background of the box SEE MORE EXAMPLES – 144e7d
    The colour of the font in the box– f2f0f0

    Many Thanks and apologies for the kerfuffle

    Tom

    #681122

    Hi,

    Please try the following instead:

    .main_color .toggler {
        background-color: #144e7d;
        color: #f2f0f0;
    }

    Regards,
    Rikard

    #681484

    Hi again,

    I did it but it does not work…

    Tom

    #682936

    Hi,

    We modified the code a bit. Please try it again.

    Best regards,
    Ismael

    #683827

    Hi again , it works perfectly! However when I hover over this box it still changes into white could I ask you to give more code so that the colour is always blue – http://www.babeldictionary.net/audibly-adverb/#toggle-id-1
    144e7d

    Thanks you in advance
    Tom

    #684424

    Hi,

    Please try the following in Quick CSS under Enfold–>General Styling:

    .toggler:hover {
    background-color: #144e7d !important;
    }

    Best regards,
    Rikard

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