Change Sidebar sizes

Home Forums WordPress Themes – Premium Preference Change Sidebar sizes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14764
    Sarah Fuller
    Member

    I 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 4

    Are these the ones I need to change?

    See code:

    
    
    
    
    				
    		
    #19228
    Sarah Fuller
    Member

    Ok, 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?

    #19230
    Sushil Adhikari
    Moderator

    First 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:

    #19238
    Sushil Adhikari
    Moderator

    I 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.

    #19283
    Sarah Fuller
    Member

    Sorry 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?

    #14765
    Sushil Adhikari
    Moderator

    I will split this topic and move your Preference subject into the PReference forum…but quick answer will be the index.php file.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.