-
AuthorPosts
-
August 19, 2014 at 12:19 pm #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
MarcAugust 19, 2014 at 12:21 pm #306248Hi 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,
YigitAugust 19, 2014 at 1:47 pm #306300This reply has been marked as private.August 19, 2014 at 1:52 pm #306303Hi!
Please use your code as following
jQuery(".test").before(".privatkunden");
Cheers!
YigitAugust 19, 2014 at 9:49 pm #306541This reply has been marked as private.August 20, 2014 at 11:29 am #306745Hey 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,
YigitAugust 20, 2014 at 5:16 pm #306946This reply has been marked as private.August 21, 2014 at 12:37 pm #307307Hi 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,
YigitAugust 21, 2014 at 6:16 pm #307488This reply has been marked as private.August 22, 2014 at 8:50 am #307670Glad to help, let us know how it goes Marc :)
Regards,
JosueAugust 24, 2014 at 12:07 pm #308433This reply has been marked as private.August 24, 2014 at 7:53 pm #308477Hey!
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,
JosueAugust 24, 2014 at 8:14 pm #308478This reply has been marked as private.August 24, 2014 at 8:38 pm #308481This reply has been marked as private.August 24, 2014 at 8:51 pm #308483Thank 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
MarcAugust 24, 2014 at 10:24 pm #308494Great solution Marc, i’ll update the code in the original topic.
Best regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.