Home>Support>Right-align text in a widget

Right-align text in a widget

By Blom90, 9 years ago. Last reply by Magus, 9 years ago.

Hi,

I am using the Vantage theme and have three widgets in my footer, therefore three columns. The left and right columns are both text (one is a menu) and the center column contains a logo.

Now my problem is this:
I want to either right-align the text in the widget on the right or change the padding on the left of that column so that it is moved to the right a little bit. At the moment it looks a little skew.

Please take a look at https://www.edrange.co.za/ to see what I mean.
I do know a little CSS coding, so I added padding to the left of the entire widget are which, obviously, didn’t work because it shifted the entire area to the right instead of just the content in the widget on the right hand side.

I also aligned the logo to the left, but you can still see that it is a little skew because of the text’s automatic left-alignment.

Please help me if there is a solution or some sort of work-around.

Thanks!

URL: https://www.edrange.co.za/

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, 4 months ago Magus
    Hi, I Work Here

    Hi Blom90

    To right align the text in the last widget please add this to your custom CSS through Jetpack

    #secondary :last-child.widget, #footer-widgets :last-child.widget {
        text-align: right !important;
    }
    

    Let us know how you get on

    Magus

  2. 9 years, 4 months ago Blom90

    Perfect!! Thank you a thousand times.

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

    No worries

    If you need any more help feel free to open a new support thread.

    Magus

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