Jump to content

Default theme nav bar background color?


Phile

Recommended Posts

Hi,

this has nothing to due with my last post.

how do i change the bg color of the top nav bar using default template 5.2.7

 

I tried looking in whmcs.css and bootstrap.css and cannot find it anywhere.

I went to bootstrap.css line 3559(.navbar-inner) and changed all the numbers around and nothing changes.

I attached a screenshot.

 

Any one know?

navbarbgcolor.png

Edited by Phile
Link to comment
Share on other sites

that's exactly the right spot in bootstrap.css

 

as an example, if you change *all* #333333 to #ffffff, you'll get a white-grey fade on the menu bar (horrid!) - if you don't see it, then you might need to clear your browser cache or clear templates_c, but the nav bar does change!

Link to comment
Share on other sites

thanks for the reply Brian,

when you say *all* do you mean just in the .navbar-inner or all instances of #333333 in the bootstrap.css ?

because i replaced all the #333333 in the .navbar-inner with #ffffff and cleared browser cache and templates_c and no change

then did a search/replace #333333/#ffffff in the entire bootstrao.css and still no change...this is making me crazy...time to listen to some old P-Floyd i think.

 

thanks again

Edited by Phile
Link to comment
Share on other sites

just in .navbar-inner

 

i'd suggest two things...

 

1. go into general settings and ensure that the template selected is "default".

2. make sure you are editing the bootstrap.css in the "default" directory (or the one selected in general settings if different) - it's easy to make the mistake of editing the right file in the wrong folder (if you see what I mean).

 

as an aside, you aren't really supposed to edit the existing themes - ideally, you would copy the folder, rename it, upload it to the template directory and select it in general settings... the reason being that when you come to update whmcs, you may overwrite your updated "default" template with the one in the new whmcs update file.

 

hopefully this solves your problem and you'll be comfortably numb! :)

Link to comment
Share on other sites

Well, I uploaded a fresh copy of the default template then renamed it to mytemp1

went to general and made SURE i had mytemp1 selected as the template

edited the .navbar-inner lines in the new bootstrap.css file

uploaded it to the new mytemp1/css folder

cleared browser cache and template_c folder

Still nothing. Do you have a copy of bootstrap.css with the changes i can try?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated