- This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by Sakin.
-
AuthorPosts
-
August 21, 2014 at 12:52 am #42805JohnParticipant
I am a new customer and this is my first post. I would like to show the “Recent Posts” listing at the top of the page on a mobile device rather than at the bottom with the right sidebar contents. Is there a way to control the order that sidebar contents is displayed?
August 21, 2014 at 12:01 pm #42826SakinKeymaster@John: Can you post in your site URL and let me know which layout you are using in Catch Evolution Theme. Then accordingly we need to change the code to make the sidebar first in the mobile devices.
For this, first you need to build child theme. You can download sample child theme from http://catchthemes.com/blog/create-child-theme-wordpress/ and depending on the layout you choose we need to make changes. For example, if you have selected “Left Sidebar” or “Right Sidebar” layout from “Appearance => Theme Options => Layout Options”. Then, you need to copy
header.php
andindex.php
file fromcatch-evolution-pro
theme directory tocatch-evolution-pro-child
theme directory. Then delete the following code fromindex.php
<?php get_sidebar(); ?>
Then inheader.php
file you need to add the above code which you have remove fromindex.php
file. You need to add it just above<div id="primary">
code.August 23, 2014 at 12:12 am #42922JohnParticipantI am very pleased with your quick answer. You asked for my URL which is pixtraveler.reynsoft.com. Your solution works fine on the default browser on my Samsung Galaxy S4, but I am getting some strange behavior on the Chrome Beta app.
August 23, 2014 at 12:23 am #42923August 25, 2014 at 12:29 am #42961JohnParticipantHere is my scenario: On my Samsung Galaxy 4s, I run the Chrome Beta app, and bring up my blog, which looks fine. I then scroll to the very bottom and tap on the “Switch to mobile version” link. My cell display then looks like an abstract painting or a crazy jigsaw puzzle. I have found a WordPress post that also reports problems in this mode. My present work around is “Don’t tap on that dang link!”. If I don’t, everything is OK, but I hope the problem with Chrome “mobile version” is solved.
August 25, 2014 at 10:10 pm #42991 -
AuthorPosts
- The topic ‘Fine Control of Post Layout On A Mobile Device’ is closed to new replies.