Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Blue Background on Smaller Screens

Community Beginner ,
Jan 13, 2018 Jan 13, 2018

Dear community;

I have got this blue background only on smaller screens in navigation bar:

issue.png

Can anyone tell how to remove it?

615
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 14, 2018 Jan 14, 2018

In that case, forget about reply 8 and change the background to transparent for the navbar. In other words:

replace

background: #52ba5;

with

background: transparent;

Translate
Community Expert ,
Jan 13, 2018 Jan 13, 2018

The answer lies in the code.

Please upload your document to a (temporary) online location and supply the URL to that location. If that is not possible, please paste your your HTML and CSS here.

Wappler, the only real Dreamweaver alternative.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 13, 2018 Jan 13, 2018
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2018 Jan 14, 2018

Thank you for that. However, I do not see the code for singlePageTemplate.css

Wappler, the only real Dreamweaver alternative.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 14, 2018 Jan 14, 2018
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2018 Jan 14, 2018

If you search your style sheet (CSS) for background: #52ba5; notice that this appears three times. By changing the value you will be able to change the colour.

If you want to hide the menu bar and only show it when a hamburger icon is clicked, have a look at Show / Hide Navigation | HTML Dog

As a side note: Get into the habit of designing desktop down or mobile up - the latter is my preference. This way you need to only override the style rules when neccessary, i.e. background: #52ba5; need only be applied once, not three times.

Wappler, the only real Dreamweaver alternative.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 14, 2018 Jan 14, 2018

I removed it in all three places so that there is no background but to no avail...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 14, 2018 Jan 14, 2018

Modifying in the GLOBAL file did the trick...can you guide how can i make the header transparent so that i can see background rather than white color?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2018 Jan 14, 2018

.hero {

padding-top: 150px;

padding-bottom: 150px;

-webkit-box-shadow: 0px 0px;

box-shadow: 0px 0px;

background-color: transparent;

background-attachment: scroll;

background-image: url(../images/background-1747792_1280.jpg);

background-repeat: no-repeat;

background-size: cover;

}

Wappler, the only real Dreamweaver alternative.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 14, 2018 Jan 14, 2018

i want to get rid of light grey background in Nav bar..and replace with a transparent background so that picture in header is visible..

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2018 Jan 14, 2018

In that case, forget about reply 8 and change the background to transparent for the navbar. In other words:

replace

background: #52ba5;

with

background: transparent;

Wappler, the only real Dreamweaver alternative.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 14, 2018 Jan 14, 2018
LATEST

Still not working....here is my new code...would appreciate if you can point the code line number:

https://codeshare.io/5XBZEn

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines