Skip to main content
Participating Frequently
December 12, 2018
Answered

Site and code dissappeared - showing Master Style Sheet instead

  • December 12, 2018
  • 1 reply
  • 368 views

Not sure what I did.  The question is best asked in pictures.  The below is what I want to view.

Instead I see this (below) where the bar under the tabs (circled in red above) is missing and instead I am viewing the master style sheet.

I know I've accidentally toggled something but can not find out how to get back to the website.

This topic has been closed for replies.
Correct answer Jon Fritz

Now I'm finding that other pages created in the site have lost formatting... not sure wha tI did but this may be a complete rebuild... add multiple expletives here!


sharpe2012  wrote

Now I'm finding that other pages created in the site have lost formatting... not sure wha tI did but this may be a complete rebuild... add multiple expletives here!


It's likely just a file extension goof up.

Most likely when you meant to create a .css file to add all of your css code to, you accidentally opened a new .html page from the options available in the New Document dialogue.

1 reply

Jon Fritz
Community Expert
Community Expert
December 12, 2018

I don't think you've accidentally toggled anything. It looks more to me like you may have accidentally copy and pasted over your index.html with your .css stylesheet code.

Is there any actual html code in that file?

If so, you'll need to move all of that css inside a set of <style> tags in the <head> of the page to get it to render.

easharpeAuthor
Participating Frequently
December 12, 2018

Thanks for responding.  There's no html code in that mess.  Even if I did accidentally copy the css code over it, why would the menu items circled in red (in the image in my original post) disappear as well (ie - source code; bootstrap.min.css. etc.)?

easharpeAuthor
Participating Frequently
December 12, 2018

Now I'm finding that other pages created in the site have lost formatting... not sure wha tI did but this may be a complete rebuild... add multiple expletives here!