-
AuthorPosts
-
December 3, 2014 at 12:16 pm #362058
Hi, as I wrote in the subject I’m trying to give a custom ID to my masonry gallery but it doesn’t work.
I have tried even with other kind of gallery but using Chrome Developer Tool I can see that my class hasn’t been added to the element.
Can you help me?
Thank you very much,
StefanoDecember 3, 2014 at 4:39 pm #362219Hey Stefano!
Would you like to apply custom CSS class ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ )? If so, do you mind creating a temporary admin login and posting it here privately? Please also point out your element
Best regards,
YigitDecember 3, 2014 at 6:14 pm #362316This reply has been marked as private.December 3, 2014 at 6:22 pm #362326Hi!
Can you post the link to your website as well?
Have you tried placing your element inside a Color Section element and giving it a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.pngRegards,
YigitDecember 3, 2014 at 7:10 pm #362384This reply has been marked as private.December 4, 2014 at 7:30 pm #363159Hey!
Please change the code to following one
function add_custom_script(){ ?> <script> jQuery(window).load(function(){ jQuery('#press .av-masonry a').each(function(){ jQuery(this).attr('target', '_blank'); }); }); </script> <?php } add_action(‘wp_footer’, ‘add_custom_script’);
Best regards,
YigitDecember 4, 2014 at 7:58 pm #363186This reply has been marked as private.December 4, 2014 at 8:03 pm #363194Hey!
Please review your website now. There was an issue with a single quote, fixed it, it is working fine now
Best regards,
YigitJanuary 5, 2015 at 5:41 pm #375194I have the same problem. I can specify a unique id for masonry gallery but it won’t be applied in the frontend :( Do I have to replace some code? Where?
January 6, 2015 at 6:10 am #375477Same problem here. :(
January 6, 2015 at 6:13 am #375478It does work for the Color Section though.
January 6, 2015 at 9:33 am #375528May 12, 2015 at 9:34 pm #443386This reply has been marked as private.May 13, 2015 at 8:43 am #443627Hi!
Looks like you don’t have the latest version of the theme and WordPress. Please update to Enfold 3.1.5 and WordPress 4.2.2.
Best regards,
IsmaelOctober 30, 2015 at 9:23 pm #527705The rest of us can only read part of the above conversation because parts are marked as private. I notice the addition of #press in the php code. Where is this added elsewhere so that this string of code is targeted only to this specific masonry element?
In the example code, would the word press be added in the section ID for the masonry element? Or would it be #press in the section ID?
Thanks!
November 2, 2015 at 6:35 am #528250Hi @BleedingThorn,
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
RikardNovember 2, 2015 at 11:31 pm #528882I ended up not using section IDs in my masonry gallery because no matter what I put in the id section, nothing was showing up in my element inspector. Not sure if this was my fault or if Enfold has a bug.
I put the url in the private content box below.
November 3, 2015 at 5:53 pm #529523Hey!
can you provide us admin access please? could not find the correct link to the login page. Post it here as private reply.
Regards,
AndyNovember 3, 2015 at 8:58 pm #529617See below for login info.
November 5, 2015 at 6:49 am #530537Hey!
It’s actually a small bug in the masonry script. It is now fixed in the latest version of the theme, 3.4. Please update your installation.
Cheers!
IsmaelDecember 16, 2015 at 11:09 pm #554060Es funktioniert nicht richtig. Eigene Id oder class geht nur bei Stretch fullwidth, Bei Adjust to content width sind Eigene Id’s und Classen immer noch nicht möglich.
December 22, 2015 at 12:36 pm #556489@fertilizer
can you stick to thread language please? otherwise please open a new ticket. Provide us admin access, so we can have a deeper look into it. Show us a precise link where we can see the issue and find the elements in question. Make sure to use newest theme version (Enfold v3.4.7), as well as newest WordPress version.Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.