Sidebar, search box and localization
-
Hi,
I am trying to make some small changes to Pinpress theme but I’m not completely successful with doing that. The first thing I tried to do is to add a sidebar to the homepage. I don’t know any php but I simply added
<?php get_sidebar(); ?>
after the get_header line and the homepage content and the sidebar overlapped. I changed
<div id="col" style="width:100%;" class="column">
to
<div id="col" style="width:72%;" class="column">
and it seemed to work. I didn’t want one search box at the top and another at the footer so I removed the line
<div class="searchform_footercover"><?php get_search_form(); ?>
and this seemed to work, too. However, these changes made me have a buggy homepage for the mobile devices. When I visited my website from my mobile website, I noticed that the unwanted search box came back and the content and the sidebar overlapped (while the sidebar becomes a footer – it is at the bottom of the page – in the single-content pages, i.e. blog posts).What am I missing? How can I make sidebar work exactly the same as it works on single content pages, any idea? Additionally, how can I get rid of double search box on lower resolutions?
Additionally, how can I translate the theme? Most part are independent from the theme but some strings like “replies, leave a reply, categories, tagged in”, etc., needs translation and I do not know which files/which parts to edit to do the translation.
Here are some screenhots:
https://imgur.com/lsAms7e
https://imgur.com/XSPsnjI
- The topic ‘Sidebar, search box and localization’ is closed to new replies.