I need to put no follow on cart and login icon

This topic has 5 replies, 2 voices, and was last updated 7 months, 3 weeks ago ago by Rose Tyler

  • 4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 15, 2023 at 10:40

    Hello, Alvaro,

    Thank you for contacting us and for using XStore.

    To be able to edit the header content, please go to Theme Options > Header Builder.

    If you are looking for something else, please describe the desired result in more detail, with screenshots.

    Use Lightshot screenshot or Gyazo tool to make screenshots and share the links here, or you can use a file-sharing service such as WeTransfer https://wetransfer.com/ to upload ready photos there and provide us with URLs.

    Kind Regards,
    8theme team

    Avatar: Alvaro
    Alvaro
    Participant
    September 15, 2023 at 10:51

    I need this 2 icons from the webpage to become no follow.

    here is the image on we transfer
    https://we.tl/t-V3rFocf5i6

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 17, 2023 at 07:40

    Hello, Alvaro,

    We apologize for the delay in our response.

    Regrettably, the option you are seeking is not available by default. We kindly request you to submit your requirement to our developer’s team via the following link: https://www.8theme.com/taskboard/

    Should you have any other inquiries or concerns, please feel free to contact us. Our support team is always at your disposal to provide assistance.

    Kind Regards,
    8theme team

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 18, 2023 at 15:06

    Hello, Alvaro,

    Please, add the next code snippet to your child-theme/functions.php https://prnt.sc/_DxmOkAB0DEm

    add_action('wp_head', function() { ?>
        <script type="text/javascript">
            jQuery(document).ready(function($){
                let header_elements_nofollow = ['account', 'cart'];
                let nofollow_links_selectors = '.et_b_header-account > a, .et_b_header-account .et-mini-content-head > a';
                $.each(header_elements_nofollow, function(index, element) {
                    $('.et_b_header-'+element+' > a, .et_b_header-'+element+' .et-mini-content-head > a').attr('rel', 'nofollow');
                });
            });
        </script>
    <?php });

    Result → https://prnt.sc/k53iY0aTWguD

    Kind Regards,
    8theme team

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.