How to make next narrower
-
Hi, I was wondering how I can make the text of the body of my blog posts more narrow formatted?
The blog I need help with is: (visible only to logged in users)
-
Hi @yeonandbee,
You can just use this simple CSS code to reduce the width of the articles so that texts inside them appear narrower:.entry-content { max-width: 80%; width: 1000px; margin: 0 auto; }Let me know if it helps :)
-
Hi, yes it did thanks! I was also wondering how to centre my page? My menu, which is at the top of my page and my text do not seem aligned in the middle?
-
Hi, yes it did thanks! I was also wondering how to centre my page? My menu, which is at the top of my page and my text do not seem aligned in the middle?
-
Hi @yeonandbee, the menu items link elements have different left and right padding, so that may be what you are seeing. Add the following to your custom CSS, which takes the total of left and right padding and splits it on each side.
.main-navigation ul a { padding-left: 14px; padding-right: 14px; }On the code that @otpidusprime gave you above, I might suggest a couple of changes to that. See how this works, and you can adjust the max width as you see fit.
.entry-content { max-width: 1000px; width: 100%; margin: 0 auto; } -
-
@thesacredpath,
Thanks for the changes to my code.
I am learning a lot in these forums :) -
- The topic ‘How to make next narrower’ is closed to new replies.