Search…

X3 Photo Gallery Support Forums

Search…
 
mitov
Topic Author
Posts: 15
Joined: 20 Oct 2011, 08:19

edit the password box

21 Oct 2011, 11:38

Hi,

How can i edit the password box background and text colours?

See screenshot.

M.
Attachments
Screen Shot 2011-10-21 at 16.36.33.png
Screen Shot 2011-10-21 at 16.36.33.png (1.08 KiB) Viewed 5246 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: edit the password box

24 Oct 2011, 02:08

I answered this in another post. I would however question why you are changing a theme that strongly, making dark backgrounds to light backgrounds ... That will obviously render the various texts unreadable unless you fix them in the CSS. Recommended is to find a theme that suits, and make small adjustments ...

However, as mentioned in the other post, you can change text colors (formatting) in the theme CSS file ...
 
mitov
Topic Author
Posts: 15
Joined: 20 Oct 2011, 08:19

Re: edit the password box

24 Oct 2011, 05:04

Well I am editing the theme to get it to how I want it. In the CSS I have changed the body colour text to white, which is why I am having this problem. I did a small fix by changing the body colour to a lighter shade of black and added a color setting for text pages. Now, the body colour CSS only controls the form colour.

The problem with this is that the headings of the contact form also display in this lighter shade of black, when I want it to be white. When I add a color tag for the contact form to make the colour of the text white, it also changes the colour of the text in the password box to white... So I am going around in circles.

Is it possible to change JUST the colour in the password box? Is it possible to change the colour/opacity of JUST the password box?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: edit the password box

24 Oct 2011, 12:18

mitov wrote:Is it possible to change JUST the colour in the password box? Is it possible to change the colour/opacity of JUST the password box?
Yes, all texts you should be able to edit separately, although this is a bit tedious and you must empty your cache to check results every time you edit the CSS. Full docs on the CSS is here:
https://www.photo.gallery/documentation/cssreference/
Scroll down to the "textpage" paragraph, and see you have classes that control the style/color of the inputs ...
 
mitov
Topic Author
Posts: 15
Joined: 20 Oct 2011, 08:19

Re: edit the password box

24 Oct 2011, 12:41

As mentioned, i have already done this, but changing the css of the text page inputs, ALSO changes the text colour of the contact form. One CSS value changes ALL the text input values. I want to change JUST the password one. Is this possible? If not, maybe it could be a feature request for next versions as it gives more flexibility.

Also, again, is it possible to change the background opacity of the password protect box?

M.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: edit the password box

25 Oct 2011, 00:18

I am not sure how you have managed to change the color for ONLY the password box ... The password box uses the SAME settings as for textpages, including background color, text color, input text color. The entire box is a globally formatted textpage, hence I don't see how or why you want it different ...

Are you saying your password form has white BG while your textpages do not?
Also, again, is it possible to change the background opacity of the password protect box?
You can change opacity of textpage backgrounds (which password box is also part of) in your THEME settings ... Like above, this is a global setting for all textpage items, and I don't see how or why you can have it different.