Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
telltree
Topic Author
Posts: 6
Joined: 07 Jun 2012, 18:04

Horizontal margin for Text Pages and other issues.

08 Jul 2012, 15:29

1. I have a need to set a horizontal margin between the left side of the screen and the textpage so that overlap of the menu with the textpage will not occur. This arises when expanding the horizontal textpage size. No such option seems to be available in the css stylesheet or in the settings or theme settings. Any ideas on how to implement this?

2. In the textpage, the image has a slightly greater horizontal margin than the text (by a few pixels). How to remove this?

3. [non text page issue] How to remove completely the thumbnail menu (that appears below the thumbnails, has a left and right arrow and other buttons)?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Horizontal margin for Text Pages and other issues.

09 Jul 2012, 08:15

telltree wrote:1. I have a need to set a horizontal margin between the left side of the screen and the textpage so that overlap of the menu with the textpage will not occur. This arises when expanding the horizontal textpage size. No such option seems to be available in the css stylesheet or in the settings or theme settings. Any ideas on how to implement this?
The textpage uses a simple width parameter to set the width. Why not just reduce the width from your theme settings? Just like any webpage with html content on the web, they come with a set width, and flexible scrollable height. Also, it would not be very nice if the textpage has a liqui layout, especially if you have images in it. Textpages should have a set width because its nicer to read text which is limited in width.
telltree wrote:2. In the textpage, the image has a slightly greater horizontal margin than the text (by a few pixels). How to remove this?
In the src for the textpage, try to add the hspace and border inside the img tag:
Code
<img hspace="0" border="0" ... />
Unfortunately, this is how flash renders text pages by default, and our power over this is limited. Flash textfields are relatively poor, and only support basic text formatting.
telltree wrote:3. [non text page issue] How to remove completely the thumbnail menu (that appears below the thumbnails, has a left and right arrow and other buttons)?
You are speaking of the maincontrols, which is a global control panel. You can just hide this for thumbnails. If you disable this panel of buttons, it will be globally disabled also in image mode ... If you want to disable it, go to admin -> settings -> controls.maincontrols.enabled, uncheck it.
 
User avatar
telltree
Topic Author
Posts: 6
Joined: 07 Jun 2012, 18:04

Re: Horizontal margin for Text Pages and other issues.

10 Jul 2012, 14:16

Thanks, all of that was helpful. At this point, due to the limitations imposed by flash on what html and css is supported, I will probably just code seperate html / css pages, upload them, and call them with the lightbox feature. It's a great feature and I might as well use it.