Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1346764

    A few years ago I modified toggles.php to change p.toggler to h2.toggler (plus other changes) to get the Accordion titles displaying as H2.

    The code has changed dramatically since I did that and my changes no longer work. The topic was raised again here but the code has changed yet again since Guenni007’s solution a couple of months ago.

    Günter implies a fix to allow this change to be selected in the ALB element would be in 4.9. The Changelog states

    - feature: new options for ALB Elements:
      - Accordion
        - html tag for toggle title

    but I can’t find any details on what an “html tag” means or how to use it.

    Please can you advise if this new feature does what I want, and if so how do I implement it? The Enfold Documentation (https://kriesi.at/documentation/enfold/) makes no reference to HTML tags that I can find.

    And if the feature doesn’t allow the titles to be changed via ALB, can you advise the code changes required in toggles.php to achieve the same?

    PS. The Enfold Documentation site is constantly showing the cookie consent banner. After clicking OK to accept cookies, you select another page or topic and the banner re-appears.

    #1346863

    Hey zimbo,

    Thank you for the inquiry.

    You can now change the toggle title tag or element in the Advanced > Toggle Titles > Toggle Title Tag (Theme Default is) settings, so you don’t have to use or keep the previous modifications. Please make sure to update the theme to version 4.9.2.2.

    Best regards,
    Ismael

    #1346889

    Got it, thanks. Closed!

    #1346915

    Hi,

    Thanks for the update, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change Accordion title to H2’ is closed to new replies.