Home › Forums › WordPress Themes – Premium › Preference › Change Sidebar sizes
- This topic has 5 replies, 10 voices, and was last updated 9 years, 9 months ago by
Sushil Adhikari.
-
AuthorPosts
-
February 18, 2014 at 7:22 am #14764
Sarah Fuller
MemberI just noticed that I can edit files within my file manager, so I opened the file (page-left-right.php) and have pasted it below… it only has 49 lines
Line 21 says span 3
Line 25 says span 5
Line 38 says span 4Are these the ones I need to change?
See code:
February 18, 2014 at 10:55 am #19228Sarah Fuller
MemberOk, a bit confused.
I have incidentally changed themes to Preference and have now installed and activated Preference Child.
I go to Appearance >> Editor >> Select theme to edit >> Preference Child >> Select
I can’t see anywhere to select a file, and the code in the stylesheet is as follows:
/* Theme Name: Preference Child Theme URI: http://demo.styledthemes.com/preference Description: Preference Child is created for you to take advantage of making changes to the parent theme of Preference without actually changing its files, you will do your customization from this child theme of Preference. Template: preference Version: 0.1.0 Author: StyledThemes.com Author URI: http: //www.styledthemes.com/ Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, custom-colors, editor-style, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, translation-ready License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Encounter WordPress Theme, Copyright (C) 2013 Andre Jutras This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */ /* Import Styles -------------------------------------------------------------- */ @import url('../preference/style.css'); /* Add your style.css changes here -------------------------------------------------------------- */ /* mobile styling -------------------------------------------------------------- */ @media (min-width: 768px) and (max-width: 979px) { } @media (min-width: 1200px) { } @media (max-width: 979px) { } @media (max-width: 767px) { } @media (max-width: 480px) { } @media (max-width: 320px) { }
So where do I find the span code?
February 18, 2014 at 8:17 pm #19230Sushil Adhikari
ModeratorFirst good news is that you posted code with the code button…thanks.
Second, the style.css you posted is only for adding classes to override the parent theme.
Third, the file you posted earlier is the one you want. You have to upload (using an ftp program or your host file manager) that page-left-right.php file to where your child theme is. So where you find it in the parent theme here:/ themes / preference / page-templates / page-left-right.php
You copy the template file and upload it to your child theme duplicating the exact same location. So it will go here:
/ themes / preference-child / page-templates / page-left-right.php
Then you can edit the span class on the div containers in the template file page-left-right.php from the dashboard editor that are the:
February 19, 2014 at 8:37 am #19238Sushil Adhikari
ModeratorI just realized this topic has two theme discussions… i will need to move them to a new location. Originally this topic was for Encounters, but I noticed the Preference theme name is showing here. Which theme is this for that you are adjusting the sidebar sizes? This will help with the answer to your last question.
February 22, 2014 at 1:22 pm #19283Sarah Fuller
MemberSorry Andre, I changed themes mid support.
I am now using the Preference theme.
Just a reminder … I have changed the spans but it only effects the pages. I would also like to make the blog post content wider/sidebar narrower. Can you advise me on that please?
February 22, 2014 at 8:28 pm #14765Sushil Adhikari
ModeratorI will split this topic and move your Preference subject into the PReference forum…but quick answer will be the index.php file.
-
AuthorPosts
- You must be logged in to reply to this topic.