How to edit the navigation menu? (Transparency/Massively)

Post Reply
ashrafakader
Sr. Bludit
Posts: 40
Joined: Tue Sep 05, 2023 1:33 pm
Has thanked: 9 times

Hello,
Unless I change the image or the theme, nav menu is too transparent and its text is very hardly readable.. I want to set its transparency OR text color.

I opened main.css and changed

Code: Select all

background: #ffffff;
to

Code: Select all

background-color: rgba(0,0,0,0.3);
, but this doesn`t work.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The property background of which selector?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Romeo21
Ssr. Bludit
Posts: 10
Joined: Fri Nov 25, 2022 7:00 pm
Been thanked: 3 times

Hope that this will be helpful.
/* Set the background color of the navigation menu with 30% transparency */
.nav-menu {
background-color: rgba(255, 255, 255, 0.7);
}

/* Set the text color of the navigation menu items */
.nav-menu a {
color: #000; /* Set the color to black */
}
Post Reply