• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Custom Style only showing when logged in as admin

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Custom Style only showing when logged in as admin

This topic is: resolved
  • This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by sethbahookey.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 30, 2015 at 8:06 am #164058
    sethbahookey
    Member

    Has anyone ran into this problem before? Unfortunately this is just a local site right now so I can't add a link, but I'm using the Minimum Pro theme and I did some customization where I have the four big circle links as links to other pages instead of using the social icons. I used dashicons to display the icons within the circles and created some custom CSS to create the styling of the circles.

    When I log out and try to see it as if I were a normal user the circles turn to little tiny circles and the dashicons become tiny as well. Any ideas of the top of anyone's head? If I can configure the rest of the site I'll get it in a staging server so I can post a link, but just wanted to ask right away.

    Thanks!

    August 30, 2015 at 1:53 pm #164077
    Victor Font
    Moderator

    Are you using any kind of caching plugin? Most caching plugins don't cache files for logged in users. If you are not logged in, clear the cache then hold down the shift key when you refresh the page in the browser. This forces the style sheet to reload.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 30, 2015 at 1:56 pm #164078
    sethbahookey
    Member

    Thanks for the feedback!

    Actually I just figured it out. It was because I was using the class .dashicons which is technically in it's own style sheet so it kept getting overwritten by those rules.

    To solve the problem, I wrapped my HTML in a div tag with a class then I just took the stylings and put that class in front of it in the css. So .mypage .dashicons.

    The only thing I forgot to do was add the .mypage class to all my other sections in the stylesheet because the specificity is higher now that I have that .mypage in front.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom Style only showing when logged in as admin’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble