Inline Code Example HereI have this url http://lawnkinglandscapedesigns.com/ I edited the CSS inside wordpress to center the logo, and now .slide .banner { display: none; } is showing up on the website. This is what I put into the code:

#logo {
margin-left: 125px !important;
}
.slide .banner {
display: none !important;
}

Even when I delete the code it still shows up. Any ideas on how to get rid of it?

Recommended Answers

You have it randomly written down in your code where it doesn't make sense... delete it and you should be fine.

Open the file, search for ".banner" and delete the relevant text...

Jump to Post

All 2 Replies

You have it randomly written down in your code where it doesn't make sense... delete it and you should be fine.

Open the file, search for ".banner" and delete the relevant text...

For future reference, CSS added to the page needs to be inside <style></style> tags in the head element or inside elements on the actual page (e.g. inside <div> or <span>, etc).
Simply typing it in as text will make the browser render it on the page. It doesn't know any better.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.