Shrink Top Menu real estate

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hello:
I am trying to shrink the amount of white space on the top menu area.
I uploaded a smaller logo, but the white space remains the same size.

Specifically, the space above and below the "search store" field.

Does anyone know where to shrink this space?

thanks,
3 years ago
Hi,
You can reduce margin and padding in header element and topmenu items.
3 years ago
Thank you.

I just loaded the latest v4.3 and things seem to have shift around somewhat.

I am looking at wwwroot>Views>
  - Common
  - Home
  - Shared>Header.cshtml ???

Where can I find the file please?

thanks!
3 years ago
You need to change in css file, there is no required change in view page.

If you shared your sire url then I can suggest css changes.
3 years ago
Thanks, that would be great of you.

https://myrealmobile.com
3 years ago
realdigital wrote:
Specifically, the space above and below the "search store" field.

.header-lower of your theme style (line #834) has set padding 35px. Reducing it, would made space above/below smaller.

Regards,
Tom
3 years ago
Thanks, but that did not seem to work. There was no change.

I am using the Default theme.
3 years ago
Below is the style that is getting applied on the website.  The CSS file change should work.

.header-lower {
  position: relative;
  z-index: 0;
  padding: 35px 0;
}
3 years ago
Thank you.
To be clear, I goto >Themes>DeFaultClean>Content>css
I upload the corrected file "styles.css" with line 834-837 as follows:

.header-lower {
  position: relative;
  z-index: 0;
  padding: 10px 0;
}

This did not affect the area.
The area being the space above and below the LOGO (which is on the same line as the "Search Store" field box.

I am trying to narrow the white space.

thank you for the help
3 years ago
Hi,
It seems  your css still not updated on live site.
look here - https://prnt.sc/ttz6zj

After change padding to
10px 0
it will look like this - https://prnt.sc/ttz7ru
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.