-
AuthorPosts
-
August 14, 2019 at 3:24 pm #1127634
Hi,
I need to wrap all DOM items with class=”flex_column” to add background-zoom feature to Enfold: http://www.tipue.com/blog/css-background-zoom/
Any idea how to do that? For example some code for functions.php?By default Enfold creates the DOM like that:
<div class="flex_column_table"> <div class="flex_column"></div> <== hat set background-image with backend editor. <div class="flex_column"></div> <== hat set background-image with backend editor. <div class="flex_column"><div> <== hat set background-image with backend editor. </div>
What I need is this:
<div class="flex_column_table"> <div class="outer"> <div class="flex_column"></div> <== hat set background-image with backend editor. </div> <div class="outer"> <div class="flex_column"></div> <== hat set background-image with backend editor. </div> <div class="outer"> <div class="flex_column"></div> <== hat set background-image with backend editor. </div> </div>
August 15, 2019 at 7:19 pm #1128002Hey Marcel,
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,
VictoriaAugust 15, 2019 at 7:39 pm #1128017Hi Victoria,
thank you for your answer. Can you please tell me in what file does the Enfold theme creates the DOM for the (flex) columns? Maybe with this help I can do the changes in my child theme alone. If the file does not help me, I will hire a freelancer of course, thank you :)
Bes regards,
Mathuseo- This reply was modified 5 years, 4 months ago by Mathuseo.
August 16, 2019 at 5:19 pm #1128293Hi Mathuseo,
You might want to look in this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php
Best regards,
VictoriaAugust 16, 2019 at 5:19 pm #1128294Hi Mathuseo,
You might want to look in this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.