Home>Support>Adding a clickable image in the left side of my header

Adding a clickable image in the left side of my header

Hi,

I would like to add a clickable image to left side of my header and don’t know how to.

– I tried with a widget but it shows on the right.
– I tried with a CSS style in the widget, but the widget stayed on the right part.

Can you help me ?

URL: http://benandju.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 5 months ago Magus
    Hi, I Work Here

    Hi Ben

    This can be achieved by adding some custom CSS to Appearance-Custom CSS. Please try the following snippet.

    #masthead .hgroup #header-sidebar {
    right: auto !important;
    }
    

    Let us know how you get on

    Magus

  2. 9 years, 5 months ago Ben Thibault-Dury

    OK, thanks

    So it moves my social widget to the left, while I wanted to keep it on the right and add a image to the left.

    How can I do that ?

  3. 9 years, 5 months ago Magus
    Hi, I Work Here

    Hi Ben

    Add you image widget into the header widget above your social icons widget. Then add the following to your custom CSS

    #masthead .hgroup #header-sidebar {
        width: 100%;
    }
    
    #masthead .hgroup #header-sidebar aside.widget {
    width :25%;
    right:  25%;
    }
    
    #masthead .hgroup #header-sidebar aside:last-child.widget {
      left: 25%;
    }
    

    You will need to adjust the right and left percentages to get the positioning you are happy with. Decrease to move them closer to the centre and increase to move them away. We may need to look at some extra entries to handle mobile viewing, but that can be managed once you have your layout set.

    Let us know how you get on

    Magus

  4. 9 years, 5 months ago Magus
    Hi, I Work Here

    Hi Ben

    I forgot to add, remove the original snippet as well.

    Magus

  5. 9 years, 5 months ago Ben Thibault-Dury

    Hi,

    Thanks very much, everything is working. I will get back to you for the mobile version when I am ready with the design of the image I want to use.

    Just for the persons interested, I used the Layout Builder widget to have everything done properly.

    Ben

  6. 9 years, 5 months ago Daniel
    Hi, I Work Here

    Hi Ben

    Am glad you are making progress in developing your site. Always feel free to open a new thread whenever you require support

    @Magus much appreciate

    Cheers

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More