ZenphotoCMS Forum
text next to image - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: text next to image (/thread-10981.html)



text next to image - thospa - 2013-04-08

Hello,

For my Image gallery I have me decided for the default theme. The description from the single picture is under the image, now. How can I make that the description of the image is on the right side from the Image?

Thanks




text next to image - fretzl - 2013-04-08

You will have to modify the appropriate stylesheet. (depends on the theme colors you have set in your theme options)
The stylesheet can be found here: themes -> default -> styles




text next to image - luigipuzz - 2013-06-18

fretzl
can you help me figure out the details on this one?
I'm pretty comfortable with css but cannot for the life of me figure out how to move the description off to the right
Thanks




text next to image - fretzl - 2013-06-18

You can try to add something like this to your stylesheet.
`

narrow p {


width: 300px;
position: relative;
top: -400px;
left: 600px;

}
`
This of course requires the description to be wrapped in tags. (that's what the editor normally does)
Check the HTML output of the editor if it doesn't work properly.




text next to image - acrylian - 2013-06-18

That css will of course only work if the the description does not have more than one paragraph.




text next to image - fretzl - 2013-06-18

It does actually work with more than one paragraph but it's not the best solution ;-)

It would be better to modify the theme.




text next to image - acrylian - 2013-06-18

Ok, I just stumbled upon the top positioning which could lead to funny results if set on two elements in the same place :-)