• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / CSS edits do not work in mobile view

CSS edits do not work in mobile view

  • Unknown's avatar
    tarahighwire · Member · Jul 28, 2015 at 4:49 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I added this override CSS to my Misty Lakes Theme (http://highwirepressblog.wordpress.com), which adds my logo to the top of the page, but in the mobile version, it does not display. How do I get it to show up in the mobile view?

    #masthead {
    position: relative;
    top: 0;
    background: url(‘https://highwirepressblog.files.wordpress.com/2015/07/highwirebloglogosmall1-e1438049648776.png’) no-repeat;
    width: 700px;
    height: 65px;
    margin: ;
    margin-top: 0;
    }

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    thesacredpath · Member · Jul 28, 2015 at 9:10 pm
    • Copy link Copy link

    Hi there, change your custom CSS to the following and see what you think. I’ve put the image into the site title div instead of the masthead div and then changed the height to a min-height and used the !important keyword to force it to use that height. I’ve also changed your top declaration into a padding of 20px since your image was going flush to the top when my browser window was narrowed down to phone size.

    .site-title {
        background: rgba(0, 0, 0, 0) url("https://highwirepressblog.files.wordpress.com/2015/07/highwirebloglogosmall1-e1438049648776.png") no-repeat scroll 0 0;
        min-height: 65px !important;
        margin: 0;
        position: relative;
        margin-top: 20px;
        width: 700px;
    }
  • Unknown's avatar
    tarahighwire · Member · Jul 28, 2015 at 9:35 pm
    • Copy link Copy link

    It worked!!! Thanks :-) You’re the best, thesacredpath!

  • Unknown's avatar
    thesacredpath · Member · Jul 28, 2015 at 9:44 pm
    • Copy link Copy link

    Hooray, thanks and you are welcome. :)

  • The topic ‘CSS edits do not work in mobile view’ is closed to new replies.

Tags

  • logo
  • masthead
  • mobile
  • Theme - MistyLook

About this topic

  • In: CSS Customization
  • 2 participants
  • 3 replies
  • Last activity 10 years
  • Latest reply from tarahighwire

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions