Support » Theme: Codilight Lite » How to change the width of the right sidebar?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Baikare Sandeep

    (@baikaresandeep007-1)

    Hi Kretsman,
    Open the style.css located in theme folder.

    .right-sidebar .content-area {
      padding-right: 4.65116%;
      width: 64.7674%;
    }
    .sidebar {
      float: right;
      width: 35.2326%;
    }

    find and edit these classes in your style.
    add the width whatever you want.

    Regards,
    Baikare Sandip

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Hi Kretsman,
    Open the style.css located in theme folder.

    @baikaresandeep007-1 Nope, don’t recommend that. The user will lose all their work which is why that’s poor advice.

    Please instead create and activate a child theme.

    https://codex.wordpress.org/Child_Themes

    Then make changes in the child theme style.css file. When the theme gets updated then the CSS will be preserved.

    Of install and activate a custom CSS plugin.

    https://wordpress.org/plugins/search.php?q=custom+CSS

    That will work too.

    .right-sidebar .content-area {
      padding-right: 4.65116%;
      width: 64.7674%;
    }
    .sidebar {
      float: right;
      width: 35.2326%;
    }

    it’s useless…

    Where is that code?

    @charset "UTF-8";
    /*
    Theme Name: Codilight Lite
    Theme URI: http://www.famethemes.com/themes/codilight-lite
    Author: FameThemes
    Author URI: http://www.famethemes.com
    Description: Codilight Lite is a news magazine style WordPress theme from FameThemes which is a perfect option to create any kind of magazine or blog websites.
    Version: 1.0.7
    Text Domain: codilight-lite
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags:two-columns, left-sidebar, right-sidebar, green, light, responsive-layout, custom-background, custom-colors, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
    */

    [ Three thousand, one hundred and thirty seven lines of CSS deleted ]

    wight of sidebar and wight of news posts changing at same time. is it normal? How to change only wight of sidebar ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change the width of the right sidebar?’ is closed to new replies.