- Posts: 10
- Thank you received: 0
CSS modifications for top menu
-
regis.kubli
Inactive member - Topic Author
- New Member
Less
More
2 years 10 months ago #48581
by regis.kubli
CSS modifications for top menu was created by regis.kubli
Hi,
Our website project with Natura template is growing for our non-profit association.
I have a question about the "top menu". I would like to make its line darker, because several photos placed through it are too light.
I find it is already possible when someone is at the bottom of the page, and scroll to the top of the page, the "top menu" line appears darker above the page, then when the top page is reaching "top menu" becomes again lighter.
I'ld like to keep this "darker line" permanatly.
Is it possible via the css or anything else ?
Thanks a lot
Best regards
Our website project with Natura template is growing for our non-profit association.
I have a question about the "top menu". I would like to make its line darker, because several photos placed through it are too light.
I find it is already possible when someone is at the bottom of the page, and scroll to the top of the page, the "top menu" line appears darker above the page, then when the top page is reaching "top menu" becomes again lighter.
I'ld like to keep this "darker line" permanatly.
Is it possible via the css or anything else ?
Thanks a lot
Best regards
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
2 years 10 months ago #48582
by milos
Replied by milos on topic CSS modifications for top menu
Hello,
I suppose you are using Joomla 4.
To add a background color in the menu row, please go to the template settings (System > Site Template Styles > Hot Natura > Custom > CSS). Find this part:
and add a background color:
This is for black color (#000). You can change it to any color you like.
Also, you can change the menu colors in the same place (under Menus > Top Menu).
Regards,
Milos
I suppose you are using Joomla 4.
To add a background color in the menu row, please go to the template settings (System > Site Template Styles > Hot Natura > Custom > CSS). Find this part:
Code:
.logorow {
position: absolute;
width: 100%;
}
and add a background color:
Code:
.logorow {
position: absolute;
width: 100%;
background: #000;
}
This is for black color (#000). You can change it to any color you like.
Also, you can change the menu colors in the same place (under Menus > Top Menu).
Regards,
Milos
Please Log in to join the conversation.
-
regis.kubli
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
2 years 10 months ago #48583
by regis.kubli
Replied by regis.kubli on topic CSS modifications for top menu
Thanks a lot for your quick answer.
Your tips change the background colour, that's fine, but i wish to have a semi transparent background, not a plain background colour.
Is it possible ?
Your tips change the background colour, that's fine, but i wish to have a semi transparent background, not a plain background colour.
Is it possible ?
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
2 years 10 months ago #48584
by milos
Replied by milos on topic CSS modifications for top menu
Yes. So, instead of this line with solid color:
you can use the line with transparent color:
where color is in RGB-a format (0, 0, 0) and transparency is in decimal format (value between 0 to 1).
Regards,
Milos
Code:
background: #000;
you can use the line with transparent color:
Code:
background: rgba(0, 0, 0, 0.5);
where color is in RGB-a format (0, 0, 0) and transparency is in decimal format (value between 0 to 1).
Regards,
Milos
Please Log in to join the conversation.
-
regis.kubli
Inactive member - Topic Author
- New Member
Less
More
- Posts: 10
- Thank you received: 0
2 years 10 months ago #48585
by regis.kubli
Replied by regis.kubli on topic CSS modifications for top menu
IT'S SO GREAT !
Thanks so much !
Best regards
Thanks so much !
Best regards
Please Log in to join the conversation.
Time to create page: 0.159 seconds