Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #306245

    Hi,

    can I apply an id or a class to a 1/2 page layout module or a picture.
    Or asked differently are which are the elements that I can give an id- or a class-name?

    Cheers
    Marc

    #306248

    Hi Marc!

    You can turn on Custom CSS field for ALB elements by referring to this tutorial – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and you can give unique ID to color section elements – http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/

    Best regards,
    Yigit

    #306300
    This reply has been marked as private.
    #306303

    Hi!

    Please use your code as following

    jQuery(".test").before(".privatkunden");

    Cheers!
    Yigit

    #306541
    This reply has been marked as private.
    #306745

    Hey Marc

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(".test").before(jQuery(".privatkunden"));
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Best regards,
    Yigit

    #306946
    This reply has been marked as private.
    #307307

    Hi Marc!

    Currently it is not possible. However, Josue posted a workaround few months ago. You can try it here – https://kriesi.at/support/topic/how-to-trigger-specific-elements/#post-268697

    Best regards,
    Yigit

    #307488
    This reply has been marked as private.
    #307670

    Glad to help, let us know how it goes Marc :)

    Regards,
    Josue

    #308433
    This reply has been marked as private.
    #308477

    Hey!

    It doesn’t work because the workaround seeks for the last class in the element, an image element class array looks like:

    avia-image-container avia_animated_image avia_animate_when_almost_visible right-to-left av-styling- avia-builder-el-33 avia-builder-el-no-sibling custom_elements mwPictureColumn avia-align-center avia_start_animation avia_start_delayed_animation

    And a text element:

    av-special-heading av-special-heading-h3 avia-builder-el-28 el_before_av_textblock avia-builder-el-first custom_elements mwTextColumn

    I’ll try to find a better workaround for this issue.

    Regards,
    Josue

    #308478
    This reply has been marked as private.
    #308481
    This reply has been marked as private.
    #308483

    Thank you very much for your help Josue and of course also Yigit!

    I think i am back on track for the next steps.
    Without your help I would have definitively been stuck….
    I did not know where to investigate any further.

    Maybe I will need your help again concerning the rearangement of the pictures in the mobile view.
    For now it seems to me like I could manage the next step… We will see :-)

    I’ll try my best.

    But it’s such a good feeling that one can rely on you guys in case something goes wrong.
    This is really important!

    Thank you so much
    Marc

    #308494

    Great solution Marc, i’ll update the code in the original topic.

    Best regards,
    Josue

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