Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Top Bar Alignment not working on Tablet view

  • Hi. I’m using the “Prime” site template on WordPress 6.2, GeneratePress Premium 2.3.1.

    I want to center align some (HTML) text I’ve put in the Top bar widget. In the WP Customizer (Appearance, Customize, Layout, Top Bar) I changed the Top Bar Alignment setting to “Center”. This has worked for Desktop & Mobile view, but in Tablet view the text is still left-aligned.

    Please could you advise how to fix?

    Many thanks in advance

    Simon

  • Hi there,

    can i see your site ? As i need to see the HTML you added.

  • Hi David

    My site is https://isanflowers2.com/

    The code I added is …

    <b>Our SHOP is on Corner of Soi 23, Soi Siam Country Club, East Pattaya. <a href="https://www.google.co.uk/maps/place/Isan+Flowers+2/@12.9292784,100.9455122,17z/data=!3m1!4b1!4m6!3m5!1s0x310295f1bf414607:0xfd43a7a2393f06d4!8m2!3d12.9292732!4d100.9480925!16s%2Fg%2F11g8jtsp3g" target="_blank">(HERE on Google Maps)</a> ....
    Reliable DELIVERY to anywhere in Pattaya (& Naklua, Jomtien, Huay Yai)</b>

    Simon

  • Ok, if you edit the Widget in Appearance > Widgets ( you get the full editor there unlike the Customizer ). And select the Container Block the text is in, and from its Toolbar set the text align to centre.

    That should cover all screens

  • Many thanks David. I found the Text Alignment option in the Typography section.

    That has now worked for the Tablet view! Still not quite right for screen sizes between Desktop & Tablet (e.g. small Desktop, as tested by dragging a desktop browser window slowly narrower) but I guess it is good enough

  • It looks pretty good to me.
    If you want to drop me a screenshot of the odd size ill do some digging ?

  • Hi David. Many thanks for the offer but don’t worry. It’s good enough for now :0)

    Much appreciated

    Simon

  • OK 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.