Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mobile view category button background


Guest

Recommended Posts

I have changed my header in my osc 2.3.4.1 CE

Now in the Mobile view I need to remove the category button background, but keep the background color when you cklick the button and the categories open.

Anyone know how I can do that ?

Look at images to understand what I want to do..

categories.jpg

categories2.jpg

Link to comment
Share on other sites

Hi

That is not a standard osC Frozen categories menu. My guess is Horizontal Menu BS v1.4??

If yes then do the following:

Open your ../includes/modules/content/header/templates/catmenu.php file

FIND

<nav class="navbar navbar-default" role="navigation">

REPLACE WITH

<nav class="navbar navbar-default yourclass1" role="navigation">

FIND

<div class="collapse navbar-collapse" id="bs-navbar-collapse">

REPLACE WITH

<div class="collapse navbar-collapse yourclass2" id="bs-navbar-collapse">

Now that we added 2 new classes, yourclass1 and yourclass2, we can start to change the style.
FIND

<style>

ADD AFTER IT

.yourclass1 {
  background: none !important;
  border: none !important;
}
.yourclass2 {
  background-color: #f8f8f8;
}

That's it.

*you can rename the classes to whatever you like.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...