Jump to content

how to delete border on top menu


Recommended Posts

Open yourtheme/css/modules/blocktopmenu/css/superfish-modified.css and find

.sf-menu > li {
    border-right: 1px solid #D6D4D4;
    float: left;
    margin-bottom: -3px;
}

Remove border-right line.

  • Like 1
Link to comment
Share on other sites

  On 4/27/2014 at 11:25 AM, abhirasyid said:

@dioniz i tried that but nothing happened :|

 

can you share link to your shop?

i bet on cache,

- try to clear shop cache and recompile entire theme (you use ccc for css?)

- try to clear browser cache

Link to comment
Share on other sites

The menu on that image doesn't look like the top menu in default-bootstrap. Are you using a different theme or just a customized menu? I'm new to Prestashop and am currently working on customizing default-bootstrap and learning/figuring out how to do things in the absence of official guides.

 

BTW, to clear browser cache quickly just hold shift-key and hit refresh/F5.

Link to comment
Share on other sites

  On 4/27/2014 at 12:34 PM, vekia said:

shift? perhaps you mean ctrl? ctrl+f5 clears browser cache

True, but I use to hold the Shift key and click the Reload button on the navigation toolbar. I think (?) that does it too.

Link to comment
Share on other sites

  On 4/27/2014 at 11:38 PM, vekia said:

it is in superfish-modified.css, at the moment he use ccc for css files, so all css files are minified into one file.

when ccc for css is active, to see changes it's necessary to recompile theme.

 

hi vekia, i did it now, but still no change :(

Link to comment
Share on other sites

Btw here is my superfish-modified.css:

 

  Reveal hidden contents

 

Edited by abhirasyid (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  .sf-menu > li > a {

    font: 600 17px/21px "Open Sans", sans-serif;

    text-transform: uppercase;

    color: #484848;

    display: block;

    padding: 17px 20px;

    border-bottom: 3px solid #e9e9e9; }

  .sf-menu > li.sfHover > a,

  .sf-menu > li > a:hover, .sf-menu > li.sfHoverForce > a {

    background: #333333;

    border-bottom-color: #666666;

    color: white; }

 

Add below css under above code in superfish-modified.css if you use 1.6 version default theme,

This will display a border between two menu names.

 

.sf-menu > li +li{

  border-left: 1px solid #d6d4d4;

  }

Link to comment
Share on other sites

  On 5/7/2014 at 10:29 AM, rayleic said:

 

  .sf-menu > li > a {
    font: 600 17px/21px "Open Sans", sans-serif;
    text-transform: uppercase;
    color: #484848;
    display: block;
    padding: 17px 20px;
    border-bottom: 3px solid #e9e9e9; }
  .sf-menu > li.sfHover > a,
  .sf-menu > li > a:hover, .sf-menu > li.sfHoverForce > a {
    background: #333333;
    border-bottom-color: #666666;
    color: white; }
 
Add below css under above code in superfish-modified.css if you use 1.6 version default theme,
This will display a border between two menu names.
 
.sf-menu > li +li{
  border-left: 1px solid #d6d4d4;
  }

 

:)

The border was already there.. the TO was seeking to remove it. The issue is already solved.

Link to comment
Share on other sites

×
×
  • Create New...