![]() |
coding for alignment in wordpress Hello! Is there a simple piece of coding that allows pictures to be aligned side by side in a worpress template? I'm using Mainstream theme. Thanks |
Re: coding for alignment in wordpress CSS... float left... depends on the width/height of the elements, the parent element,... I would maybe go with a LI |
Re: coding for alignment in wordpress Use the alignment option in editor, or you can manuly add <div align="left, right, center"> use one of alignment. |
Re: coding for alignment in wordpress Images can also be set to alignnone (that's by default), but both images can't be wider then content area. If theme has defined style for content images, like padding, border, margin and similar, that will increase space needed for image. To be super safe, both images need to be smaller then 50% of content area (try with 40%). |
| All times are GMT -6. The time now is 08:40 PM. |