-
Author
-
July 30, 2014 at 15:57 #24092DDClubParticipant
I am using a right sidebar layout. I would like to reduce the width of the sidebar by about half, while increasing the body to match.
Please let me have the code and tell me where to put it. I am not a coder so I need exact directions! Thanks in advance.
August 1, 2014 at 17:25 #24367CatalinModeratorHello,
Please send me a link to your website to be able to provide you a solution for your request.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 6, 2014 at 13:26 #24841AbeKeymasterFrom customer who sent a message to the no-reply email address:
The site is not live. It’s been developed on localhost with XAMPP. What I am trying to do is change all my (right-hand) sidebars to be narrower than they are in relation to the body. I guess they are both set to percentages of the total width and I can insert some code in a child theme?
Thanks, Anthony
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.August 7, 2014 at 11:40 #24965CatalinModeratorHello,
You need to copy this file:
..\themes\sweetdate\page-templates\right_sidebar.php
to your child them keeping the same folder structure and modify this rows:
COPY CODE<div id="main-content" class="eight columns"> <?php add_filter('kleo_sidebar_class', create_function('', 'return "four";')); ?>
instead of eight you can put nine and instead of four you can put three… you will need to restyle some widgets tho.
Let me know if this works.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 5, 2015 at 13:27 #41017TheMatchmakerParticipantHi,
I would like to decrease the width of the right sidebar in the sweetdate theme, and increase the main page space (nine/three) – I followed you instructions above but is not working (I copied the right_sidebar.php in child and change the number of columns). Please advice
thxJanuary 8, 2015 at 02:44 #41233AbeKeymasterSince that one you copy is a page template, make sure you set it in the page you want to use it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
You must be logged in to reply to this topic.