Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #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

    #590707

    Hi Sven!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .main_color .av-masonry {
        background-color: black;
    }

    Cheers!
    Yigit

    #590712

    Yes, 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!
    Sven

    #590717

    Sorry, 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 lot

    #590723

    Hey!

    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!
    Yigit

    #590735

    Hello,
    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 9

    So put it away again, but the error is still there.
    I hope I didn`t destroyed it.
    Thanks

    #590736

    First I put the code in the general CSS, but I thougt I didn’t saved it.

    #590738

    If you need any login credentials just tell me

    #590743

    Hi!

    Code i posted seems fine. Do you mind posting FTP logins here privately so we can fix the file?

    Cheers!
    Yigit

    #590756

    of course

    #590761

    Hi!

    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,
    Yigit

    #590763

    it is enfold-6

    #590764

    ok, thanks a lot for you help. I will delate the old enfolds.
    Thanks!

    #590775

    Hey!

    You are welcome. For your information, you added the code to Enfold-2 :)

    Best regards,
    Yigit

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