Home › Forums › CSS › Want to change the font size & colour of my Nav bar but haven't got the foggiest
- This topic is empty.
-
AuthorPosts
-
August 16, 2013 at 6:17 am #147065
trendytots
ParticipantHi there, new to this forum so please bear with me. I want to change the font size and colour of my nav bar but in the CSS code there isn’t any mention of the size or colour. I have copied what is in the CSS code for the Nav bar and if anybody can tell me what to do that would be great! Thanks in advance
/** ========== TOP NAVIGATION ========== **/
topNav {
margin: 0 auto 0px;
padding: 0px 0 0 0;
min-height: 32px;
width: 980px;
background: top left repeat-x;
background-image: url(‘/v/vspfiles/assets/images/navbar2.jpg’);
text-align: center;
}display_menu_1 {
margin: 0;
padding: 0;
width: auto;
}display_menu_1 ul {
width: auto;
margin: 0;
padding: 0;
list-style: none;
text-align: center;August 16, 2013 at 6:36 am #147071seanjacob
ParticipantUse
font-size:
andbackground:
to adjust.Chrome and Safari have inbuilt web inspectors so you can see where the font-size and background is coming from. To use this – right click on the nav and go to ‘Inspect element’.
August 16, 2013 at 6:52 am #147077Paulie_D
MemberIn any case, if you provide us with a link to the site we could help further.
Not sure there is much you can do about the background color as this:
background-image: url(‘/v/vspfiles/assets/images/navbar2.jp
suggests that, in fact, it’s an image.
August 16, 2013 at 8:14 am #147092npav
ParticipantLike @Paulie_D said, looks like the BG is an image, if you have the image psd file you can edit that, then save it to your site folder with the same name as the current BG image.
August 16, 2013 at 11:02 am #147105trendytots
ParticipantSorry my post must not have been clear I want to change the font size and the font colour of the text on my nav bar. The image is just a stripe that I have placed behind the text. Thanks for your replies
August 16, 2013 at 11:06 am #147109Paulie_D
MemberStill need a link….!
August 16, 2013 at 11:10 am #147111ChrisP
Participantwithout seeing your code, I’m guessing:
display_menu_1 ul a { font-size: whatever-size-you-want; color: whatever-color-you-want; }
not sure if that display_menu_1 is supposed to be a class or ID though.
August 16, 2013 at 11:22 am #147113trendytots
ParticipantPaulie_D I don’t have a URL yet as I am on a free trial. The is the link to storefront http://v1460892.zxe3g7ph9guz.demo7.volusion.com/default.asp
seanjacob I have used the Inspect Element link and was able to change the colour and font size to what I wanted but couldn’t seem to save it? Thanks
August 16, 2013 at 11:30 am #147115Paulie_D
MemberIf you have access to the CSS you can edit the properties in’Navigation.css’
Frankly, I suspect that you may not….but I’m not familiar with Volusion
August 16, 2013 at 11:36 am #147116trendytots
ParticipantI have the access to a CSS form but what is available under the Navigation header I copied and pasted above, which doesn’t mention font size or font colour. When I use that Inspect the Element that SeanJacob mentioned I am able to change it there but can’t seem to save it. thank you for your responses.
August 16, 2013 at 11:45 am #147117Paulie_D
Member#topNav ul li a { display: inline-block; padding: 7px 15px; font-size: 13px; <=== text-transform: uppercase; font-weight: 600; color: #696969; <==== text-shadow: 1px 1px 0 #fff; height: 17px; }
Line 6
August 16, 2013 at 11:47 am #147118Paulie_D
Member…and
#display_menu_1 .nav a { color: #696969; }
Line 84
August 16, 2013 at 11:59 am #147119trendytots
ParticipantThanks for that Paulie_D but unfortunately it didn’t work. The only thing that worked is that Inspect the Element but I can’t save it. Thanks for your help
August 16, 2013 at 12:11 pm #147120Paulie_D
MemberThe inspect element tells you which lines of CSS affect what you are inspecting.
Just keep looking and change the css file on the site accordingly.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.