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

    Hello,

    A couple questions: First is it possible to add a second button on the Promo Box element and make it similar to the slider?

    Second. Promo Box as currently as it is with one button, the button doesn’t work if you try and click on the left side, I noticed that you have to click a bit after the middle towards the right side of the button to make it work. Tried it on both IE & Firefox latest releases. How can this be fixed to work anywhere you click on the button?

    Thank you,
    George

    #296446

    Hey sdbroker!

    Thank you for using our theme.

    No, by default a second button is not supported. If you like that, you have to change the php code to implement it.

    To fix the problem with the click event try to put the following in custom.css or Enfold->styles->Qick-CSS field:

    
    #top .main_color .avia-color-theme-color {
        z-index: 5000;
    }
    

    Cheers!
    Günter

    #296500

    Hi Gunter,

    Thank you for the reply! The fix that you suggested for the issue with the button does not work. Instead it breaks the galleries on the pages by making the main image much smaller. I don’t know why.

    Haven’t implemented yet, but since I saw that your suggestion involved z-index, I changed the following on Firebug and it seems to work:

    av_promobox .avia-button {z-index: 5;}

    z-index is currently set to 2 on shortcodes.css.

    Regarding my first question about adding a second button to promobox element similar to what the full screen slider has, what php code do I need to implement for it to work?

    Thank you,
    George

    • This reply was modified 10 years, 4 months ago by sdbroker.
    #296585

    Hi!

    The code that implements the promobox is found in:

    enfold->config-templatebuilder->avia-shortcodes->promobox.php
    enfold->js->shortcodes.js
    enfold->css->shortcodes.css

    Best regards,
    Günter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.