Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #607815

    Hello!
    I want to center the titles only of the footer widgets in the 2nd column, so the titles are centered above the images.
    I found code to center the whole widget, but that doesn’t look right in tablet views and on desktop views– is there a way to center only the titles, not the whole column?’
    Also, how can I get the Pages widget in the 1st column aligned with the rest of them (columns 2, 3 & 4 are indented)?
    Links to the site and screenshot are below.
    Thanks in advance for your help!

    #607828

    Hey Julie!

    use the following

    
    #text-2 .flex_column .widget .widgettitle, .content .widget .widgettitle, #text-3 .flex_column .widget .widgettitle, .content .widget .widgettitle {
    text-align: center !important;
    }

    let us know if that works out for u

    Best regards,
    Basilis

    #607856

    Hi Basilis,

    Thanks so much for this, but it unfortunately doesn’t seem to be changing the alignment of the titles or the widgets.

    Any other ideas?

    #607862

    Hi!

    Can I please have backend acces to give it a look?
    Thank u

    Best regards,
    Basilis

    #607866

    Of course– see below.

    Thank you!

    #607881

    Hi!

    I added following code to bottom of Quick CSS field

    #footer .flex_column:nth-child(2) .widgettitle {
        text-align: center;
    }

    please review your website now

    Cheers!
    Yigit

    #607904

    Hi Yigit,

    Works perfectly to center the text on desktop views, thank you!

    Is there a way to limit this change only to large screens like desktop, so they are flush left on tablet views? I had not even considered they would not like right there if centered– my bad, I should have thought of that.

    Also, is there a way to increase the margin for the Pages widget (left column) on tablet views so it lines up with the others? Looks like it is maybe 4-5px farther left than the rest.

    Thanks a million!

    #607906

    Hey!

    Please change the code to following one

    @media only screen and (min-width: 990px) {
    #footer .flex_column:nth-child(2) .widgettitle {
        text-align: center;
    }}
    
    @media only screen and (max-width: 768px) {
    #footer .flex_column:nth-child(1) {
        margin-left: 40px;
    }}

    That should take care of both

    Cheers!
    Yigit

    #607914

    Hey Yigit,
    It is perfect now, thank you sooooo much!
    You’re the best. :)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How to center footer widget titles only’ is closed to new replies.