Making Shaan theme responsive
-
I’m trying to make this blog responsive to mobile and tablet devices using a media query, but I’m having difficulty. How do I refer to the correct element or container to change the width of the page? Please advise.
The blog I need help with is: (visible only to logged in users)
-
I have disabled the Mobile theme under “Mobile Options”, and now it looks decent when I toggle between the device sizes in a Chrome browser. However, it doesn’t look good when I toggle the sizes in the WordPress Customizer.
It doesn’t look like disabling the mobile theme is making it truly responsive, so CSS is still my best option. Here’s the CSS I have so far, which the media query on the bottom. It appears my syntax is correct, but the size of the container is not changing:
#container {
background-image: none;
}#container {
margin-left: 80px;
width: 800px;
}#sidebar {
display: none;
}#content.narrow {
width: 750px;
}#access ul {
width: 700px;
}#site-title {
font-size: 52px;
margin-left: 100px;
}#post-title {
width: 774px !important;
}@media only screen and (max-width: 480px) {
#container {
width: 100%;
}
} -
Keeping the Shaan theme would be preferred, and I have a pretty solid grasp of CSS. However, it may be that not all the CSS is customizable for an older theme such as Shaan, and looking for a responsive theme may be necessary.
-
- The topic ‘Making Shaan theme responsive’ is closed to new replies.