support

Author Topic: needing to change bootstrap5 colors  (Read 3471 times)

Offline laura458

  • Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
needing to change bootstrap5 colors
« on: April 18, 2024, 12:45:50 PM »
Ok, so I looked, and looked, even on the bootstrap site and still have no idea WHERE I can change the color of the nav/menu bar from black to a color I want. Using bootstrap5 theme. Have had some folks reply, and try to help, but there are MANY areas and MANY style sheets I can't find the right one.
What I see when I go into cpanel and go through all the folders:
Any help would be appreciated.
« Last Edit: April 18, 2024, 12:47:25 PM by laura458 »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5961
  • Karma: +284/-2
    • View Profile
Re: needing to change bootstrap5 colors
« Reply #1 on: April 22, 2024, 01:29:33 AM »
Hello.
Modify the /extensions/bootstrap5/storefront/view/bootstrap5/css/style.css
add CSS rules to the top of the page for example
Code: [Select]
.navbar.navbar-expand-md.navbar-dark.bg-dark {
    background-color: red !important;
}

Offline laura458

  • Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
Re: needing to change bootstrap5 colors
« Reply #2 on: April 23, 2024, 10:46:40 AM »
YAY! Thank you Basara! It worked. Forgot I had to clear the cache as well. Now I am doing the happy dance :)

 

Powered by SMFPacks Social Login Mod