Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1311831

    How can i change the follow-links into No-Follow-Links on the Partner-Logo elements on my site?
    I want to link to the partner but only with No-follow-Links. How can i change it on the site i postet in the private content box you see below.

    #1312176

    Hey Tobias777G,

    Please try this in your functions.php file:

    function avia_change_partner_logo_rel_nofollow(){
      ?>
      <script>
      	jQuery(document).ready(function($) {
      		$('.avia-logo-slider a').attr('rel', 'noopener noreferrer nofollow');
      	});
      </script>
      <?php
    }
    add_action('wp_footer', 'avia_change_partner_logo_rel_nofollow');

    Best regards,
    Rikard

    #1312192

    thanks Rikard.

    But i have do it now with a simple picture.

    Other question: i have a picture on the top of my about me page that links to the ihk page and when i scroll over it with the mouse (hover) an arrow appears.

    Why does this hover effect (arrow) not appear at the bottom left of the logo (contentbird), since I have also linked this (as nofollow, however)?

    Thanks.

    #1312583

    Hi,

    I checked the markup of the content bird image, and the overlay is set to not display there. I’m not 100% sure why that is though. If you need further help with that, then please post admin WordPress login details in private.

    Best regards,
    Rikard

    #1312735

    Hi Rikard,

    you can see my login data in the private content box.

    thanks in advance for your help.

    #1313360

    Hi,

    Thanks for the update. I see that you are adding that image in a text block, and there is an overlay added, but it’s also hidden in the markup. If you use the Image element from the Layout builder, then the overlay will show. Please try that out instead.

    Best regards,
    Rikard

    #1313386

    Hi Rikard,

    but with your solution i have some problem:

    How can i change the link from do-follow to no-follow? I don’t want to link to the site with do-follow.

    #1313737

    Hi,
    Sorry, perhaps I don’t understand correctly, but why not manually add rel="noopener noreferrer nofollow" into the text block?
    2021-08-01_010.png

    Best regards,
    Mike

    #1313738

    Hi Mike,

    thank you very much, but the problem does not concern the image you changed.

    I want the image from contentbird to be both nofollow, which it already is, and for the hover effect to appear (arrow). rikard said I should insert it as an image element, then it works with the hover effect (arrow), but then I can not change to nofollow. Therefore I have changed it again as an image in the text. But now the hover effect with the arrow is missing, as it is also with the logo of pack mas digital.

    • This reply was modified 3 years, 3 months ago by Tobias777G.
    #1314056

    Hi,

    Thanks for the update. Please try this in Quick CSS:

    .avia_textblock  a:hover .image-overlay {
        opacity: 0.7 !important;
        display: initial !important;
        top: 0;
        left: 0;
    }

    Best regards,
    Rikard

    #1314081

    Works fine Rikard. Thanks.

    #1314128

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Change Follow-Link into No-Follow-Link on the Partner Logo elements’ is closed to new replies.