Expand central text.
-
Hello, I wanted saver that code CSS I have to use to expand the text sideways and so do not leave much space empty, I put a picture with what I do, which is to expand the text in the direction of the arrows.
Regards, and thank you very much.
The blog I need help with is: (visible only to logged in users)
-
Adding the code tag to this post:
@media screen and (min-width: 58em) .entry-content{ width: 130%; margin: auto; float: none; } -
thank you very much but has not worked for me, still without expanding the central text.
-
Hi Lusco,
I believe there were some missing braces around the snippet Carla provided that would have caused it to not work correctly. Could you try again with the following?
@media screen and (min-width: 58em) { .entry-content{ width: 100%; } }Let us know how you get on.
-
-
I’m glad that worked! You can remove the space on the right with the following:
@media screen and (min-width: 58em) { .site-main { margin-right: 20%; } }If you’d like, you can also increase the value of margin-right to your liking so that some space remains.
-
He has returned to work, is helping me a lot, one last question if it is not too much to ask, I have to add CSS code to do the same as in the main text column (articulos recientes y social) I mean enlarging the text on both sides.
1 million thanks.
-
Hi there,
Are you referring to the sidebar on the right? If so, you can widen that sidebar using the following snippet:
#secondary { width: 315px; }Let me know if that helps out or if you were hoping to change something else.
Thanks!
-
-
- The topic ‘Expand central text.’ is closed to new replies.