Awaiting an answer Templates

Menu structure breaks after updating Joomla version

Asked by Ang Corey 4 years ago Last activity 4 years ago

Hi. Just updated Joomla version to Joomla 3.10.11, and notice that the top menus structure was altered. Normally the menu items are centred around the site logo (3 menu items on either side), but now the left side menu items have shifted left.

Website: https://privacymatters.com.sg

Appreciate some assistance. Many thanks.

12 replies

Paul Frankowski Senior Staff

Hi Ang,

Joomla update shouldn't do that. Let me think a while.

Paul Frankowski Senior Staff

In template Custom CSS add below linnes

#sp-menu1 .sp-column.d-flex.align-items-center {
  align-items: end !important;
  justify-content: end;
}

If you would use custom.css file - remember to clear JCH_Optimze cache !

Ang Corey Asked this

Thanks Paul, it worked. However, now there appears to be a purple layover on the banner and menu.

Paul Frankowski Senior Staff

oh, so probably you updated Helix as well.

if you have custom header, just remove topbar row.

OR

#sp-top-bar {padding: 0;}

Ang Corey Asked this
4 years ago · edited

Hmm ... I put in the following CSS custom code in Helix:

sp-top-bar {padding: 0;}

sp-menu1 .sp-column.d-flex.align-items-center {

align-items: end !important;
justify-content: end;
}

Padding is now gone but there is still a purple overlay over menu bar and banner image.

Ang Corey Asked this

Hi. Am still struggling with this purple overlay on my website. Appreciate assistance from the support team. Thanks.

Paul Frankowski Senior Staff
.hero-section::before {
  background: transparent;}
sorry for the delay
Paul Frankowski Senior Staff

If you want to change bg color of header after scroll down just change/override color used here

#sp-header.header-sticky {
  background-color: rgba(104, 102, 214, 0.95);
}

RGA color , 0.95 is transparency level

to get almost black/dark grey, for example, use

#sp-header.header-sticky {
  background-color: rgba(0, 0, 0, 0.85);
}
Ang Corey Asked this
4 years ago · edited

Thanks Paul. It worked for my home page, but all other pages still have a purple menu bar and purple overlay over some of the banner images.

The Animated text on home page - colour is set as white, but somehow it appears blue, so can't be seen against the background image.

Somehow adding the initial CSS code into helix to align the menu headings:
"#sp-menu1 .sp-column.d-flex.align-items-center {
align-items: end !important;
justify-content: end;}"

seemed to have messed up the colours of various elements on the website.

Thank you.

Paul Frankowski Senior Staff

It couldn't mess, becuase this is not for colors, but align.

But I will check...

Log in to reply.