Support » Fixing WordPress » Accidentally added css code & affected all other themes

  • Resolved vangbe


    Hi, I’m new. I’m trying to work my way around wordpress.
    So, I downloaded a theme (OceanWP) and added a css code in “Content” on the “Top Bar”. Everything looked alright so I hit “published” and what happened next was….it didn’t appear as how it was suppose to.

    The CSS code I used must of changed all the bullets and images. I went back to the “Content” within “Top Bar” where I inserted the code and I can’t find the css code anymore. But I know it’s somewhere because it affected all my other themes.

    What happened and how do I undo this?
    I know this isn’t just a specific theme issue because it’s affecting every other theme.

    • This topic was modified 1 year, 9 months ago by vangbe.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steve Stern


    Support Team Volunteer

    How did you add the CSS? Please provide a link to a page on your site where we can see this. Thanks.

    Not sure what you mean by “Every other theme”
    Where is this “Content” Or “Topbar” that you mention?

    Can you post a link to the site or post some screenshots of your problem so we can get a better idea of what is going on?

    I added the CSS inside “Customizing > Top Bar > Content

    The theme I used was “OceanWP

    According to the preview, everything looked right, but when I published it. The entire theme looked different. Like I said before, it was as if my CSS code affected all the other themes. The CSS code I used was…..something of like a entire style-sheet.

    I think my problem was I didn’t inserted the CSS script in the right area.

    It’s on my local host and I haven’t hosted the site anywhere yet. I couldn’t fix the problem so what I did was I just rebuilt the entire website from scratch.

    By “Every other theme”, it just means what it means.
    The CSS code I uploaded into the “Content” file affected every theme on wordpress.

    *when I made this post, I was unaware of how changing themes in WordPress work*

    As I was researching, I realized……these kinds of problem concerning dealing with “Themes” must be a norm.

    • This reply was modified 1 year, 9 months ago by vangbe.
    Moderator Steve Stern


    Support Team Volunteer

    I recommend asking at so the theme’s developers and support community can help you with this.

    However, the CSS you put in the customizer should stick with the theme current when it’s added.

    Thanks, I’m pretty new at this so I’m pretty sure I just gotta get use to working with themes. I appreciate the reply.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Accidentally added css code & affected all other themes’ is closed to new replies.