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

    Hi, How would I center all accordion toggle titles on my website?

    #1170191

    Hey beachcitiescryo,

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

    p.toggler {
      text-align: center;
    }

    Best regards,
    Rikard

    #1170841

    That centers the text great, thanks. How would I center the plus sign as well? What if I would like this on only specific instances of the accordion toggle titles?

    #1170922

    Hi,

    Please try this CSS as well:

    @media only screen and (min-width: 991px) {
    .toggle_icon {
        left: 38%;
    }
    }

    Best regards,
    Rikard

    #1171187

    Thank you for that code. I see that the code you provide moves the + icon over. The problem with that is the titles are different lengths so the plus “+” is in different places and sometimes overlaps the title text. I solved this by inserting the code below to remove the “+” which i found in another thread

    .toggle_icon {
        display: none;
    }

    I then added the plus manually to the Toggle title but the title is still not centered. When I use the first code it somewhat centers it but it is not a true center

    p.toggler {
      text-align: center;
    }

    I attached a screenshot link in the private section below. Things are not 100% center. Is there a way to resolve this for all the instances of this. In my site i’m using the accordion element on several pages and not are equal distances.

    #1171502

    Hi,

    Please add following code to Quick CSS as well

    .js_active .toggler {
        padding: 10px 3px;
    }

    Best regards,
    Yigit

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