• Resolved Scott Foshee

    (@scott-foshee)


    I am trying to make the Decode theme look the same on mobile as it does on the laptop. So far the code I have (below) yields a blank phone screen. How can I make it appear the same as it does on the laptop? Thank you for any help you have.

    @media only screen and (max-width: 480px) {
    	#access .menu-header, div.menu, #colophon, #branding, #main, #wrapper, #site-title {
    		width: 400px;
    	}
    
    	#container {
    		width: 100%;
    	}
    
    	#branding img {
    		width: 100%;
    	}
    
    	#site-description {
    		float: left;
    	}
    
    	#access {
    		width: 100%;
    	}
    
    	#content {
    		width: 100%;
    	}
    
    	.hentry {
    		margin-left: -13px;
    	}
    
    	#primary {
    		display: none;
    	}
    
    	#footer {
    		width: 100%;
    	}
    
    	#site-generator {
    		float: left;
    		margin-top: 5px;
    	}
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • please post in your theme’s forum at https://www.ads-software.com/support/theme/decode

    you might need to include a live link to your site.

    Thread Starter Scott Foshee

    (@scott-foshee)

    Stephen was a great help getting the issue resolved. I hope it helps someone else out there. I’m in WordPress Decode theme. This floats the bottom custom menu at the bottom (in the footer), turns its background white, and sets padding so the page text scrolls above it without going behind it. I set the height at 57 so mu menu buttons would show in mobile.

    body {
        overflow: scroll;
    }
    
    #colophon {
        background: white;
        bottom: 0;
        font-size: 13px;
        height: 57px;
        position: fixed;
        padding: 0 30px;
        margin-bottom: 0;
        width: 100%;
    }
    
    .entry-content {
        padding-bottom: 30px;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to make Decode look the same on mobile’ is closed to new replies.