Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #328868

    Hey Guys,

    Congrats on the new release!

    I used to create some translucent black background frames behind the animated numbers in the Animated Numbers element to have them show more clearly on a fix/parallaxed background image. See example here:

    http://www.bednspa.com/

    I did this thanks to Josue’s CSS that I added on the Quick CSS box and was something like this:

    .page-id-2 .avia-builder-el-16 { padding: 20px;
    background-color: rgba(0,0,0,0.5); }

    With Enfold 3.0 such things disappeared as you can see for the same example here:

    http://casateulada.vacationrentalsecrets.com/

    when I check the code on the page I notice that there is no more .avia-builder-el- reference where the animated numbers are.

    How can I recreate the same translucent box? It is quite important for a number of pages I have on other sites which use such feature and I haven’t therefore updated Enfold yet, because I don’t want to lose that.

    Thank you.

    Antonio

    #329444

    Hi Antonio!

    Thank you for using Enfold.

    You can add a unique selector to any elements on the advance layout builder except for column layouts. Refer to this link for more info:
    http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/

    Use “animated-block” on the Custom CSS field for example then add this on Quick CSS:

    .animated-block {
    padding: 20px;
    background-color: rgba(0,0,0,0.5);
    }

    Best regards,
    Ismael

    #331947

    Hi Ismael,

    before I make any damages, since I’m not a coder, can you tell me where inside the functions.php file do I add the line

    add_theme_support(‘avia_template_builder_custom_css’); ?

    Also, do I need to add this line to which of the following two files within Enfold:

    1) functions-enfold.php

    2) Theme Functions

    Lastly, if I look at the Theme Functions file, there seems to be a ‘add_theme_support(‘avia_template_builder_custom_css’);’ line already at the bottom of the file….so maybe you added that already in 3.0.1?

    Thanks,

    Antonio

    • This reply was modified 10 years, 2 months ago by abortolotti.
    #331982

    Hey Antonio!

    Yes, that’s already added by default, you’d just need to apply the class and Quick CSS accordingly.

    Regards,
    Josue

    #332215

    Hi Josue,

    I don’t see it appearing by default if I click the animated numbers element…maybe there is something not appearing?

    I just sent you the private credentials to log into my dashboard as admin for the other issue related to the submenu, maybe you can look into that too.

    Meanwhile however, I solved this problem by adding again the code in the Quick CSS field.

    Thanks,

    Antonio

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to recreate translucent background box in Animated Numbers element in 3.0?’ is closed to new replies.