[Support request] Centre Single Footer

Home Forums Support [Support request] Centre Single Footer

Home Forums Support Centre Single Footer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1618364
    Catherine

    I want to use one footer widget and make it wide so that it mostly fills the container.

    I have the footer width set to full and the inner footer width contained.

    I would also like the text inside the widget to be centred.

    I have tried a few variations of GP CSS suggestions I founbd using google search. They nearly worked in that they shifted the widget itself nearer the middle but the text wasn’t centred despite the CSS being written for that.

    .inside-footer-widgets {
    display: flex;
    justify-content: center;
    }

    .inside-footer-widgets > div {
    flex-basis: 620px;
    }

    If I change the 620px to 500px it narrows the widget size but on my installation, the contents within the footer aren’t centred.

    Any ideas?

    https://tarotelements.com/

    #1618625
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .inside-footer-widgets {
      display: flex;
      justify-content: center;
    }
    .footer-widgets .inside-footer-widgets > div {
      flex-basis: 600px;
      text-align: center;
    }
    #1618690
    Catherine

    That’s looking perfect – many thanks!

    #1618707
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.