Site logo

Archived topic

Element Block after-logo float or align to right side please

5 replies · Started by Stephen on November 25, 2022

Viewing posts 1–6 of 6

Hi, I've inserted an Element Block after-logo and I would like it to align to the right side please but I cant work out how to do it.

Currently its stuck on the left right next to the logo.

Thanks

Hi, yes thanks I want it to be like the header widget which would be on the right side.

However I need to use an element block with a hook so I can have a one block showing for logged in users and another showing for non logged in users.

Thanks
Stephen

Hi there,

add this CSS to position the block:


.site-header .site-logo {
    margin-right: auto;
}

Block element Display Rules include Logged in and Logged Out users.
So you can create 2 x elements, one for each of those rules.

You're welcome !

This archived topic is closed to new replies.