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 - 08-04-2013

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 - 08-04-2013

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 - 18-06-2013

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 - 18-06-2013

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 - 18-06-2013

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




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

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 - 18-06-2013

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