• Resolved Hypno_Pboro

    (@hypno_pboro)


    I used a workaround previously to fix this on another site but I’d like a better way to deal with this as I’m sure it’s something that’s easily achieved with the correct commands, but I can’t work out what to use.

    I’m using the Page Centred template and want to restrict the width so that my text can appear across the centre of the page only, ie, increase the left and right margins, so there’s less text per line and it’s easier to read on a PC / laptop.

    I use the plugin easy columns elsewhere on my pages so I could bodge the effect by creating two empty columns of say, 1/5 page width, to the left and right of the text and therefore force the actual text to appear in the middle 3/5, but that requires updating every page.

    Can I add a line of code to my child theme to give the same result?

    Link https://www.hypnotherapyinpeterborough.co.uk

    I’m sure this is something that’s so basic but I’ve googled and searched on here and can’t see the obvious solution so, any suggestions gratefully accepted. Thanks

    • This topic was modified 7 years, 12 months ago by Hypno_Pboro.
Viewing 1 replies (of 1 total)
  • Hi there,

    You could try to play around with the width by adding this custom CSS

    .page-template-page-centered .entry-content {
        max-width: 700px;
        margin: 0 auto;
    }

    See if you like the results…

    regards
    Imre

Viewing 1 replies (of 1 total)
  • The topic ‘How do I restrict text width within all pages?’ is closed to new replies.