CSS only works while logged in as admin?

  • Author
    Posts
  • #15174
    Matthew

    I’m trying to shift the body of the website up to remove some space with the following code:

    body, select, input, textarea {
    margin-top: -40px;
    }

    While I am logged in as an admin it displayed the page correctly but if I view it from a browser not logged into WP the space I’m trying to remove remains. I tried adding the margin-top adjustment directly to the page as well with the same issue.

    #15263
    Kay
    Cryout Creations mastermind

    That’s really not the way to go. There’s an option to remove the top bar (which is what you probably want to remove) from the Tempera Settings >> Graphics Settings.


    Before posting consider reading our short theme debugging instructions.
    Please read the FAQs: MantraNirvanaParabolaTempera
    Tutorials: custom menustranslating themeinstalling themecategory page with introdisabling comments Wordpress: child themescategories/posts
    Before making any modifications to your theme we strongly recommend using Child Themes.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘CSS only works while logged in as admin?’ is closed to new replies.