- This topic has 3 replies, 2 voices, and was last updated 10 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Ally Theme Support › turning off responsive?
Is it possible as a beginner to turn off the responsive design so that a site made with Ally for example looks on an iPhone as the site looks on a desktop?
THANKS,
GB
Yes this can be done in 2 steps.
First, “comment out” or remove the responsive code in your functions file which looks like this –
/** Add Viewport meta tag for mobile browsers */
add_action( 'genesis_meta', 'tachmorn_viewport_meta_tag' );
function tachmorn_viewport_meta_tag() {
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
}
Second, you would need to comment out or remove the responsive code at the bottom of your style.css file. Everything under this – /* Responsive Design
------------------------------------------------------------ */
It would probably be better to just comment it out if you plan to use it in the future. To comment something out add this – /* at the beginning of the code and this – */ at the very end.
Thanks for the response. Its good to know, I will ask my cousin how to implement your suggestions as I am completely new to the code manipulations of these themes and wordpress.
Best,
GB
PS – Nice theme!
You’re Welcome!
Thanks!