-
AuthorPosts
-
February 29, 2016 at 1:31 pm #590706
Hello,
I’m trying to change the gap color of the mansonry gallery. I tried a lot of things I found here, but nothing works. You can tell me which is the right css?
Thanks a lot.Sven
February 29, 2016 at 1:32 pm #590707Hi Sven!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.main_color .av-masonry { background-color: black; }
Cheers!
YigitFebruary 29, 2016 at 1:43 pm #590712Yes, thanks!
I think I tried the same code before, but now its working. Guess I had an error.
Thanks a lot for the fast answer, great!
SvenFebruary 29, 2016 at 1:54 pm #590717Sorry, I have another conected issue. How can I open the link from the masonry pictures in a new tab. I can’t see any _blanc option. You understand me?
Thanks a lotFebruary 29, 2016 at 1:59 pm #590723Hey!
Yes i do. Please add following code to Functions.php file in Appearance > Editor
function avia_custom_element_id(){ ?> <script> jQuery(window).load(function(){ jQuery('.page-id-1427 #av-masonry-1 a').attr('target','_blank'); }); </script> <?php } add_action('wp_footer', 'avia_custom_element_id');
Cheers!
YigitFebruary 29, 2016 at 2:10 pm #590735Hello,
sorry for disturbing.
I changed it but it shows up this error:
Parse error: syntax error, unexpected ‘}’ in /homepages/35/d547262301/htdocs/beni2015/wp-content/themes/enfold-2/functions.php on line 9So put it away again, but the error is still there.
I hope I didn`t destroyed it.
ThanksFebruary 29, 2016 at 2:12 pm #590736First I put the code in the general CSS, but I thougt I didn’t saved it.
February 29, 2016 at 2:14 pm #590738If you need any login credentials just tell me
February 29, 2016 at 2:23 pm #590743Hi!
Code i posted seems fine. Do you mind posting FTP logins here privately so we can fix the file?
Cheers!
YigitFebruary 29, 2016 at 2:34 pm #590756of course
February 29, 2016 at 2:40 pm #590761Hi!
You added the code to the top of functions.php file before PHP opening tag and that caused the error. I moved your code to the bottom of the file. Please review your website now.
P.S.: I noticed that you have more than one Enfold installations, please remove the one that you are not using.Best regards,
YigitFebruary 29, 2016 at 2:41 pm #590763it is enfold-6
February 29, 2016 at 2:42 pm #590764ok, thanks a lot for you help. I will delate the old enfolds.
Thanks!February 29, 2016 at 2:52 pm #590775 -
AuthorPosts
- You must be logged in to reply to this topic.