Tagged: 

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

    I want my Accordion titles to be H2’s for a blog post.

    I searched old threads and saw a solution involving editing functions.php in the child theme.

    Is there any way to do it without editing functions.php? It’s only for one page/post if that helps.

    *Edit – I may actually want to make them H3’s – what is the default? Are they a heading text or paragraph?

    Thanks

    • This topic was modified 2 years, 8 months ago by AFEC.
    #1314672

    Hey AFEC,
    Thank you for your patience, our Accordion Toggle Titles are “p” (paragraph) and do not have a built-in option to change the tag.
    I’m not sure which solution you saw to change the tag there are probably a couple, but adding the snippet to the child theme functions.php would be the best approach.
    You could edit the theme files, but you would lose this modification when you update the theme, depending on the solution you may be able to add it to a code block on the one page for it to only work on that page. If you link to the solution and to your page I could check for you.
    Are you not using a child theme? You may find it helpful to use one if you have other customizations in mind.

    Best regards,
    Mike

    #1316084

    Thanks for clarifying – I am not using a child theme I don’t think – I know there is a bunch of existing documentation on how to install / edit a child theme so i’ll read up, you can close this out. Thanks.

    #1316245

    Hi,
    Glad we were able to help, you will find the most up-to-date child theme included with the latest version if you download the full zip from Theme Forest and extract it on your desktop, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change accordion titles to H2 without editing functions.php?’ is closed to new replies.