[Resolved] Align text instead of containers

Home Forums Support [Resolved] Align text instead of containers

Home Forums Support Align text instead of containers

  • This topic has 5 replies, 3 voices, and was last updated 5 years ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #848418
    Kevin

    In this example:

    https://imgur.com/a/vGK2CG6

    Left design aligns the containers.
    Right design aligns the text.

    Out of the box, GeneratePress uses the left design. I want my website to use the right design. I’ve spent many hours tinkering and can kind of achieve it in desktop viewport but is inconsistent on tablet and mobile as content is snug up against the screen edge.

    1. Can this design be achieved by using GP settings? (If yes, what are they)
    2. Does it require custom CSS?

    Here is a GP export I’ve been tinkering with…
    https://www.dropbox.com/s/ce5wgixiet5qcy3/generate-settings-export-03-24-2019.json?dl=0

    Thanks in advance.

    #848583
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    You likely can’t do this with the settings alone. How are you creating the separate boxes? Any chance you can link us to the site you’re working on?

    Let me know 🙂

    #850816
    Kevin

    The separate boxes are created by GeneratePress (header, content, footer, etc).

    Here is a page with the “symptom” in action http://generatepress.itslimetime.net/page/

    I can provide a username/password outside of this public thread.

    Thanks!

    #850851
    David
    Staff
    Customer Support

    Hi there,

    i find the simplest method is to reduce the max width of the header and footer by the total left and right container padding e.g 1000px wide container – 80px = 920px wide.

    .inside-header.grid-container, 
    .footer-widgets-container.grid-container {
        max-width: 920px;
    }
    #851570
    Kevin

    I really appreciate it. Thanks!

    #851625
    David
    Staff
    Customer Support

    You’re welcome.

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