Help make “Login” easier to see?
Archived from the Web Auction Discussion forum.
traken — Thu Dec 06, 2007 2:52 pm
Can anyone help me with a way to make the word “Login” stand out better on the main page, I cannot seem to locate the correct file.
Thank you…
shannah — Thu Dec 06, 2007 4:03 pm
This sounds like something that is best done in the stylesheet.
You could do something like:
- Code: Select all
#user-status a { font-size: 14px; font-color: red; }
in the stylesheet.
Or something that looks a little nicer than 14px red text
Anthony Barber — Mon Dec 17, 2007 3:38 am
Hi Steve,
You suggested to Traken that he might use the following code in his stylesheet to make login more visible.
#user-status a {
font-size: 14px;
font-color: red;
}
I did that and nothing happened!!
the following code does already exist but without the a and it refers to the text ‘Logged in as admin’. If I change the black to blue I see a change
#user-status {
float: right;
display: inline;
color: black;
padding-right: 0.5em;
}
Why do I not see any change after adding your code and what function does the ‘a’ have in it?
Best regards,
Tony
Anthony Barber — Thu Dec 27, 2007 3:30 am
Hi Steve,
I placed the code in the style.css and changed text size. The color is being overridden by another format function.
Originally, I placed the code in the plone.css
Why do we have 2 css files?
Best regards,
Tony
shannah — Thu Dec 27, 2007 10:11 am
Why do we have 2 css files?
We have 2 css files for separation of code. The css files in the web auction directory are styles specific to web auction. The styles in the plone.css file (in the dataface directory) relate to dataface - so they apply to all applications using dataface.
The cascading nature of CSS accomodates multi-sheet setups. The last sheet loaded in the page takes precedence.
In our case the web auction one takes precedence in cases of conflict.