Height Of Menu - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Height Of Menu

HA

Henry Antelo

Template 3 years ago

I would like you to help me with the configuration of the HELIX ULTIMATE template.

I need to reduce the height of the menu since the distance between the header and the body is very large.

How can it be done?

0
9 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #75069

Hola,

to reduce space between header and component area read tip 2 from >> https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/customization-tips

Header height you can control in Helix Ultimate options : Basic -> Header | info: https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/basic


And to reduce Menu height please correct line-height value using CSS (now you have 110px), I suggest using 60px

.sp-megamenu-parent > li > a, 
.sp-megamenu-parent > li > span {
  line-height: 60px;}
0
HA
Henry Antelo
Accepted Answer
3 years ago #75130

Thanks for answering.

I have reviewed the suggested content and added the custom CSS code.

Unfortunately, I did not manage to reduce the space of the menu area.

Does anyone know how to fix this issue?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #75142
 #offcanvas-toggler {height: 60px;} 
 #offcanvas-toggler,
 .sp-megamenu-parent > li > a, 
 .sp-megamenu-parent > li > span {line-height: 60px; }

Use it inside Template Options - Custom Code - Custom CSS

After using it

foto_8407_2022.jpg

Remember to clean Joomla cache.

0
HA
Henry Antelo
Accepted Answer
3 years ago #75215

Include the CSS code as mentioned (and also clear the cache), but unfortunately nothing happens

What can be done?

Delete all the CSS code that I had and add the necessary one to modify the height of the menu.

Please help me.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #75225

:(

Username and password do not match or you do not have an account yet.

Please share access that works. Thx.

0
HA
Henry Antelo
Accepted Answer
3 years ago #75234

Please try again.

0
HA
Henry Antelo
Accepted Answer
3 years ago #75235

To test the modification, please use the attached URL and template.

0
HA
Henry Antelo
Accepted Answer
3 years ago #75236

To test the modification, please use the attached URL and template.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #75299

Thanks. You forgot that you have JCH_Optimze installed and enabled. And it cache views, also from template. I don't know why you forgot to update Joomla for last few months, I did it, but it was your task! Oh.

I put my CSS code (from above) inside custom.css file - becuase probably you want to use it in all styles.

0