Add a link to the top right menu

Home Forums Gillion Theme Add a link to the top right menu

Home Forums Gillion Theme Add a link to the top right menu

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    RESOLVED Posts
  • nciarapica
    Participant

    Hello team,

     

    I’d like to add a link to this page here (see image)

    https://www.blogdei.com/revue-de-presse/

     

    with this icon :

    <code class=”code-preview”>.icon-paper-clip

     

     

    Attachments:
    You must be logged in to view attached files.

    Hi @nciarapica,

     

    I hope you are well today and thank you for your question.

     

    I can see you are using header 1 layout on your shared site so to achieve this you have to overwrite theme file /gillion/inc/headers/header-1.php in the Gillion child theme and add the link on line number 67 of it.

     

    Best regards,
    Shufflehound team

    nciarapica
    Participant

    Yes i am good, thank you. You ?

     

    any chance i might do this with Child theme so i can run updates safely ?

     

    have a nice day 🙂

    I am doing well.

     

    Yes as said above you can do this in the Gillion child theme.

    OK but I don’t know how to add a link with paper clip icon. How do I do? Can you give me some code with # for url ? Thanks

    Solution for this topic

    You can use below code to achieve this.

     

    <?php
    echo '<li class="sh-share-item sh-share-item-paperclip menu-item">
                    
                        <i class="fa fa-paperclip"></i>
                    
                ';
    ?>

    Solution for this topic

    The code doesn’t get shared perfectly so i have attached modified header file containing that code.

    Attachments:
    You must be logged in to view attached files.

    Hello, sorry for taking so long I caught the flu.

     

    It works perfectly. But i’d like to :

     

    • increase the size of the icon
    • remove the dark grey on hover

     

    is it that class? i.fa.fa-paperclip

     

    I couldn’t do anything. Any clue ?

     

    Thnaks !

    Solution for this topic

    increase the size of the icon

    remove the dark grey on hover

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .sh-nav li.menu-item.sh-share-item-paperclip i {
        font-size: 20px;
        line-height: normal;
        height: auto !important;
    }
    
    .sh-nav li.menu-item.sh-share-item-paperclip:hover a {
        background-color: transparent !important;
    }

     

    is it that class? i.fa.fa-paperclip

     

    I couldn’t do anything. Any clue ?

    Yes it is predefined font awesome class.

     

    Could you please tell me what you want to do with it?

    perfect ! you can close the ticvket !!! thanks

    You are most welcome here 🙂

Viewing 11 posts - 1 through 11 (of 11 total)