1 reply [Last post]
onegreenspider
onegreenspider's picture
Offline
newbie
Florida
Last seen: 5 years 22 weeks ago
Florida
Timezone: GMT-4
Joined: 2015-03-09
Posts: 1
Points: 2

I want to reduce the width percentage on the #Top_bar .menu > li > a:after line to 50% but I can't find a way to center it once it's reduced. This is my current style. What would you recommend I do?

This is for http://cherrylake.com/cltf2/home/root-opt-3/

#Top_bar .menu > li > a:after {
content: "";
height: 2px;
width: 50%;
text-align:center;
position: absolute;
left: 0;
top: 64px;
z-index: 203;
opacity: 0;
filter: alpha(opacity=0); }

I appreciate your help.

Thank you

Erik

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 8 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Hi EriK, Try: width:

Hi EriK,
Try:

width: 50%;
margin-left: 25%;