• 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

Changes made to the css are not showing

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 › Changes made to the css are not showing

This topic is: not resolved

Tagged: css

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 24, 2016 at 2:31 pm #182182
    PunkUK
    Member

    Changes made to the css are not showing on the desktop but they are showing on other devices.

    I have tried different browsers and caching many times but no change. This also is happening on another site of mine - https://britishcandyco.com/

    I am using the Genesis child theme.

    Any help would be much appreciated.

    http://myersfitness.co.uk/
    March 26, 2016 at 7:07 am #182276
    Victor Font
    Moderator

    Please give us a specific example. We have no idea what you are trying to change just by looking at your site.

    Also, you do have a serious JavaScript bug that may be preventing the page from rendering properly: ReferenceError: Swiper is not defined. You need to fix that first to make sure it's not the cause of your issue.


    Regards,

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

    March 30, 2016 at 6:32 am #182512
    PunkUK
    Member

    Thank you for letting me know of the error, I was unaware of it.

    I thought I would let everyone know that I discovered what was causing the error. It was in fact to do with some coding in the css that I implemented from a source online, here is the coding:
    @media
    only screen and (-webkit-min-device-pixel-ratio: 2),
    only screen and ( min--moz-device-pixel-ratio: 2),
    only screen and ( -o-min-device-pixel-ratio: 2/1),
    only screen and ( min-device-pixel-ratio: 2),
    only screen and ( min-resolution: 192dpi),
    only screen and ( min-resolution: 2dppx) {
    .header-image .site-title > a {
    float: left;
    min-height: 164px;
    width: 100%;
    background: url(images/british-candy-retina.png) no-repeat left top !important;
    background-size: 330px 164px !important;
    }
    For some reason whenever this code is implemented it stops any other css changes from appearing on a desk top device.

    Have never come across a coding issue like this before.

    March 30, 2016 at 7:20 am #182518
    Victor Font
    Moderator

    You have two opening braces in that code:

    only screen and ( min-resolution: 2dppx) {
    .header-image .site-title > a {

    Change it to:

    only screen and ( min-resolution: 2dppx),
    .header-image .site-title > a {

    Regards,

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

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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