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

Change Menu Appearance Without Css

H

H

Helix Framework 3 years ago

I have a website wilt Joomla4+Helix+SPPagebuilder: https://www.zorgboerderijwillemshoeve.nl/index.php/home-page/home-page-color-scheme-2

I want to change the appearance of the menu items:

  • have all items have a rectangular colored background( button like)
  • change font weight when hoovered or activated Can I do this with settings? I have not been able to find them.

Or is it only possible with custom css?

Hubert

0
5 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #55809

It's task beyond support, but I can give you basic start at least

.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
  padding: 5px 15px !important;
  line-height: 24px;
  background: #D0C38F;
  margin: 0 10px;
  border-radius: 10px;
}

.sp-megamenu-parent > li > a:hover {
  background: #A6826C;
  color: #F7F2D3 !important;
}

.sp-megamenu-parent > li.active> a {
  background: #AABBA1;
  color: #F7F2D3 !important;
}


.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background: #D0C38F;
  border-radius: 10px;
  padding: 10px;
}

After using it

foto_7736_2022.jpg

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

Hoi Hubert,

yes, only via custom CSS this time.

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

BTW

Font-weight you can change in Template Option - Typography - now you have value 600 for Navigation , you can set 300 to set slim fonts. Using bold for menu - is not recommended. In my above CSS code you have different background color for hover and active menu item. I think you should like it.

Prettige dag!

0
H
H
Accepted Answer
3 years ago #55814

Thnx a lot for the support. It works like a charm.

Hubert

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

yes, I can confirm.

You're welcome.

0