I need help to improve 2 lines of code

Good evening
I would like to ask for help to improve two lines of code that I need to use, but that are generating errors on the site.

Nav # site-navigation {position: fixed;}

When I use this line to make the menu superior, fixed or dynamic, when I put “fixed”, I am not able to select the submenus that are above a parallax.
When I move the mouse over the sub-menus, they disappear without giving me time to select them.


.shapely_home_parallax section.bg-secondary {background: #fefefe; padding: 3;}

With this line, I can control the color of the Parallax background that has the image on the right side, without the Parallax with background images suffering any randomness. Perfect!

.shapely_home_parallax section {background: #fefefe; padding: 3;}

With this command line I can control the color of the background of the Parallax that have the images on the left side, but … the Parallax that has the images as full background, stop showing the image to show the color that I selected.

How can I resolve this issue?

Thanks for the help, hoping that these questions are also useful for other users.

Hi,

  1. You can use something like this,
.main-navigation {
  position: fixed;
  z-index: 99999;
}
  1. Instead background, can you try background-color property, so that it just override the color, not the whole background property that includes the background image URL.

Let us know,

Thanks,
laranz.

Good Morning
The first situation was resolved with the line of code he suggested.

The second situation is maintained even with the use of “background: color”. The strange thing is that the background with the images on the right hand side works perfectly,

.shapely_home_parallax section{background-color:#000000;padding:3;}

Thank you

Hi,

Glad I helped with the first point. :slight_smile:

2nd you want to change this background color? http://take.ms/afgFg in this URL? https://colorlib.com/shapely/

Let us know,

Thanks,
laranz.

Hello

Yes, i want to chage the color background of this link http://take.ms/afgFg with the image on Left.

I allready done this, but…the Parallax with the full background image, chenge too.

Thanks

Hi,

Can you pass me the website address, so that I can give you the exact CSS to change that background color of the parallax section.

Let us know,

Thanks,
laranz.