Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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>
    #1128002

    Hey 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,
    Victoria

    #1128017

    Hi 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 10 months, 3 weeks ago by  Mathuseo.
    #1128293

    Hi Mathuseo,

    You might want to look in this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php

    Best regards,
    Victoria

    #1128294

    Hi Mathuseo,

    You might want to look in this file: /enfold/config-templatebuilder/avia-shortcodes/grid_row/cell.php

    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.