-
AuthorPosts
-
October 13, 2017 at 7:04 am #863748
Hi, how can I add new heading style?
https://image.prntscr.com/image/vmTEAt94RveZO24F2qkoOQ.png
It is possible through UI? If not, how to extend it in Enfold Child theme through PHP?
October 14, 2017 at 8:01 am #864221Hey goldenplanet,
You can select different settings for each element. How do you want to extend the theme through PHP?
Best regards,
RikardOctober 14, 2017 at 10:51 am #864250I figured out how to do it thanks to that blog post:
I had to replace the Special Heading shortcode (that is a component of LayoutBuilder) in the Enfold Child theme.
Added the shortcodes directory loader into
functions.phpand copy/pasted the content ofheading.php
from:enfold/config-templatebuilder/avia-shortcodes/heading.php
to:enfold-child/shortcodes/heading.phpIn the
styleitem of theav_headingshortcode I’ve added the new style:
https://image.prntscr.com/image/VXjuQJ1YQYCNQbNLAB5Ehg.pngI still hope there’s some more sane way to do it:
– through WordPress theme’s UI (Enfold child theme UI)
– extending properties instead of overwriting the whole shortcode php fileOctober 15, 2017 at 9:11 am #864452Hi,
Thanks for the feedback, though I’m still not sure what you want to accomplish. Could you try to explain that first please?
Best regards,
RikardOctober 15, 2017 at 10:35 am #864465Hi,
So, there’s a wordpress theme called Enfold. It has it’s own LayoutBuilder interface.
There’s a tabbed toolbar which contains a Special Heading shortcode with a Heading Style property.
It’s depicted on that screenshot: https://image.prntscr.com/image/vmTEAt94RveZO24F2qkoOQ.pngIt has a list of 4 hardcoded preset options for Special Heading.
I needed to add 5th preset to that list
Let me know if I didn’t explained wellOctober 16, 2017 at 2:58 pm #864836Hi goldenplanet,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaOctober 17, 2017 at 9:17 am #865194Hi Victoria, I’m a developer.
Is there a way to contact developers?
Perhaps you didn’t notice that I wrote “I figured out how to do it”October 19, 2017 at 6:16 am #866082 -
AuthorPosts
- You must be logged in to reply to this topic.
