This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 26-May-2019 15:11 Last Post By: lutek98
lutek98

Posts: 3
Registered: 2-Mar-2006
How to center top navigation bar and make links words in capital letters
Posted: 25-May-2019 02:43
 
  Click to reply to this thread Reply
How to center-justify top navigation bar, change font size and make links words all capital letters?
jGromit

Posts: 7,655
Registered: 31-Jan-2006
Re: How to center top navigation bar and make links words in capital letters
Posted: 25-May-2019 05:27   in response to: lutek98 in response to: lutek98
 
  Click to reply to this thread Reply
Go to Tiger > Site > Custom code > CSS, and try entering this:
.top-bar {text-align:center; font-size:22px; text-transform:uppercase;}
Choose your own font size, of course.

I'm not sure what side effects this might have, so there are no guarantees.

You might want to reconsider making the links all-caps. When we scan text, the differences in letter heights help us read the text more easily. All-caps is more difficult to read.
lutek98

Posts: 3
Registered: 2-Mar-2006
Re: How to center top navigation bar and make links words in capital letters
Posted: 26-May-2019 06:16   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thank you, this code works very well.
One more similar question, how can I change alignment of folder and picture thumbnails to center -justified?
jGromit

Posts: 7,655
Registered: 31-Jan-2006
Re: How to center top navigation bar and make links words in capital letters
Posted: 26-May-2019 12:47   in response to: lutek98 in response to: lutek98
 
  Click to reply to this thread Reply
You can't. They're positioned with CSS floats, and there's no such thing as "float:center."
lutek98

Posts: 3
Registered: 2-Mar-2006
Re: How to center top navigation bar and make links words in capital letters
Posted: 26-May-2019 15:11   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I see, thank you for the explanation.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums