Logo stopped showing on Header

cteq1

Active member
Sep 18, 2018
246
94
28

Attachments

  • logo missing.JPG
    logo missing.JPG
    13 KB · Views: 13
  • header.JPG
    header.JPG
    49.3 KB · Views: 11
O

OzatuZana

Guest
Three reasons


  1. Image is to big or small
  2. Jet pack or other image plugins you may have used
  3. Edited some codes
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
The problem is the initial class state of the logo image (class="lazyload"), which makes it invisible following these CSS rules:
.no-js img.lazyload {
display: none;
}
.lazyload, .lazyloading {
opacity: 0;
}
So, remove that lazyload class, as that makes no sense anyway on a picture that's at the top of your website.

BTW, may I suggest you get a better logo?
 

cteq1

Active member
Sep 18, 2018
246
94
28
The problem is the initial class state of the logo image (class="lazyload"), which makes it invisible following these CSS rules:
.no-js img.lazyload {
display: none;
}
.lazyload, .lazyloading {
opacity: 0;
}
So, remove that lazyload class, as that makes no sense anyway on a picture that's at the top of your website.

BTW, may I suggest you get a better logo?

Thank you for your suggestions, I turned off lazy load and it didnt make any difference.
Re logo, I accept the logo is lame but it was put together for exercise sake, ie learn to design the site,
 

cteq1

Active member
Sep 18, 2018
246
94
28
Three reasons


  1. Image is to big or small
  2. Jet pack or other image plugins you may have used
  3. Edited some codes

I think it more likely 3, I removed the telephone number which was in widget header in html, thought it was tel number only, but may be there was something to do with logo too.
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
Thank you for your suggestions, I turned off lazy load and it didnt make any difference.
Re logo, I accept the logo is lame but it was put together for exercise sake, ie learn to design the site,

Sorry, but the class 'lazyload' is the problem. I don't know where that class comes from (could indeed be WP Rocket), but when I disable the css classes associated with it (mentioned in my post) I can perfectly see the logo.

I mean disabling it in the Chrome developer console.

In other words: the image class IS the problem. You'll have to remove that. If you don't know how to use the developer console in Chrome, please google it and learn a little more about website design, because using that is really basic...
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
BTW, I see you have already remedied the problem. Indeed there's no class="lazyload" anymore on your logo image. Why don't you tell us that, and how you did it? You want us to believe it's only because you removed a telephone number? Yeah right, a telephone number wrongly coded can at the most disturb your design, it does not (I repeat: IT DOES NOT) add a class to an image tag.

I'm 100% sure you did something else as well, so why don't you tell us?

I'm quite sure it had to do with the WP Rocket plug-in. You wrote you didn't use it, but @india220 wouldn't mention it, if he had not seen it in your source code. But now, indeed, it cannot be found anymore.

Only asking for advice and not telling honestly how you solved your problem is looked down upon everywhere, including this forum.
 

cteq1

Active member
Sep 18, 2018
246
94
28
Sorry, but the class 'lazyload' is the problem. I don't know where that class comes from (could indeed be WP Rocket), but when I disable the css classes associated with it (mentioned in my post) I can perfectly see the logo.

I mean disabling it in the Chrome developer console.

In other words: the image class IS the problem. You'll have to remove that. If you don't know how to use the developer console in Chrome, please google it and learn a little more about website design, because using that is really basic...

Not installed WP Rocket, the theme has lazy load option, which is on by default. I just re-installed the demo and added the logo. lets see what happens now.
 

Attachments

  • lazy.JPG
    lazy.JPG
    46.6 KB · Views: 2

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu