Forums

[resolved] How to make the content width bigger? (iCandy theme) (2 posts)

  1. salaramiry
    Member
    Posted 2 years ago #

    Hi I have used iCandy theme which is 900px wide, I have changed the size of the banner, menu and the wrapper to 1000px. iCandy theme, allows you to have a dynamic sized sidebar where in the theme options, you can change the widthe of the sidebar from 100px-270px and it automatically changed the size of the content to match the rest of the site. I have increased the size of the header (height and width with no problem as well as the menu(pixipoint multi navigation))

    The problem that I have is that I have increased the size from 900px to 1000px manually in the css and now I have like a 100 px gap on the right side...I don't know where in the code to make changes so that this 100 px becomes a part of the content of the site.

    Here are some links that can be useful:

    Screenshot of my website

    iCandy theme

  2. salaramiry
    Member
    Posted 2 years ago #

    I actually found the code in header.php

    <?php
          if(trim($options['sidebarwidth']) == "") $options['sidebarwidth'] = 270;
          $sidebarwidth = intval($options['sidebarwidth']);
          $containerwidth = 860 - $sidebarwidth;
       ?>

    860 was based on the 900px wide (40 px fo right and left padding), so by adding a 100 to 860, that gap is gone and I have a larger content now (960px - sidebarwidth)

Topic Closed

This topic has been closed to new replies.

About this Topic