Site logo

Archived topic

customer copyright text left and right

7 replies · Started by Damiaan van Vliet on June 1, 2022

Viewing posts 1–8 of 8

Good afternoon support,
I want to have some text aligned to the left side of the div and some text aligned to the right side.
So I thought something like this:
html
<span id="footerleft">text left</span> <span id="footerright">text right</span>
css

#footerleft { float: left; };
#footerright { float: left; };

But I think because .inside-site-info is flexbox the float does not work.

Is there a way how to achieve what I want?

Thank you!

Hi there,

if you used the Copyright Info field in the customizer, the try adding this CSS:

.site-info .inside-site-info .copyright-bar {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

Yes that's working! Fantastic David.
I will look up the function justify-content. And read more about flexbox.

You're welcome :)

Additional question. Does justify-content work because I've created two span sections?

yes, thats correct.

fantastic David

You're welcome

This archived topic is closed to new replies.