Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #660487

    Apologies in advance if I am missing something basic, here, but I can’t get any mods in my custom.css (in child theme/css/ folder) to show up. As a test, I did this:

    Mobile Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */
    @media only screen and (max-width: 767px) {
    /* Add your iPhone Styles here */
    h1 {
    display: none !important;
    }
    }

    But the h1s still show up on my iPhone: http://princetongutters.com/

    What am I doing incorrectly? I have the site behind a Sucuri firewall, but I have flushed that cache multiple times after modifying the h1 tag and I don’t think that is the problem. I am using the latest Enfold theme version.

    Thank you,
    Keith

    #660711

    Hey Keith,

    Thanks for getting in touch with us!

    Are you trying to hide all h1 tags on mobile devices? Could you please provide login details to your site, so that we can have a closer look. You can place the information in the Private Content section of your reply.

    Best regards,
    Jordan

    #660917

    Hi Jordan,

    I am just trying to get the mobile CSS to work at all :-) Hiding the H1 is just a test, so for your and my purposes, yes I am trying to hide all H1 tags.

    Admittedly, it gets a little wackier for testing because I need to refresh the Sucuri WebProxy cache to see the changes take effect, I believe.I have Sucuri looking into this as well, just in case it’s something on their end.

    I have provided login info in the Private Content section. Please note that the admin area access link is changed for security purposes.

    #661215

    Hi,

    I’m not sure why your CSS is not working in that file, it might be due to caching. Could you try using it in Quick CSS instead to see if that works better maybe?

    Best regards,
    Rikard

    #661387

    That’s weird…Quick CSS works!

    I guess I can add all my mobile on custom.css just so I can see it more easily all together and then cut/paste into Quick CSS.

    Not ideal, and I don’t know why things would be this way, but at least you’ve presented me with a workaround.

    If the custom.css is in the right place in my child theme and properly coded, then it just must be that the WP gods are against me on this one.

    Thank you for your help, Rikard!

    #661721

    Hi,

    Glad we could help, sometimes the custom.css gets cached but I would use Quick CSS for your edits and then move them over to custom.css when you are done. The caching should expire within a few days so after that you should be able to delete them from Quick CSS.

    Regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.