Page 1 of 1

edit the password box

Posted: 21 Oct 2011, 11:38
by mitov
Hi,

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

See screenshot.

M.

Re: edit the password box

Posted: 24 Oct 2011, 02:08
by mjau-mjau
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 ...

Re: edit the password box

Posted: 24 Oct 2011, 05:04
by mitov
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?

Re: edit the password box

Posted: 24 Oct 2011, 12:18
by mjau-mjau
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 ...

Re: edit the password box

Posted: 24 Oct 2011, 12:41
by mitov
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.

Re: edit the password box

Posted: 25 Oct 2011, 00:18
by mjau-mjau
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.