Skip to main content
Inspiring
May 21, 2021
Answered

Little help with broken code pls?

  • May 21, 2021
  • 2 replies
  • 303 views

Hello community

I had some help here with this forgotten site couple of years back - a school project - and it was working as intended. I really just forgot about it until a recent webhost swap, but something has changed - probably very simple - and I'm not figuring it out myself. The html and css validate. I think I used helpful code I didn't really understand, e.g. floats.

Why the hidden h1 text is now visible, and the nav is no longer centered, when it used to work like it is now?

 

 

This topic has been closed for replies.
Correct answer BenPleysier

The text is presently not hidden. Add the following to the LSP.css file, just after header

header h1 {
    visibility: hidden;
}

 

2 replies

Nancy OShea
Community Expert
Community Expert
May 21, 2021

You should give some thought to replacing those raster images of text with REAL text and custom web fonts from Google or Adobe Fonts.

https://fonts.adobe.com/

 

Type in pixel-based raster images is ureadable on hi-res displays.  And it's an accessibility nightmare for robot translators, screen readers and SEO crawlers. 

https://fonts.google.com/?category=Handwriting&preview.size=19

 

Nancy O'Shea— Product User & Community Expert
BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
May 21, 2021

The text is presently not hidden. Add the following to the LSP.css file, just after header

header h1 {
    visibility: hidden;
}

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Inspiring
May 22, 2021

Perfect thanks!

I plan to revamp it, better text will help thanks.