One three feature images

Discussion in 'ColorWay WordPress Theme' started by chndr, Mar 2, 2013.

Thread Status:
Not open for further replies.
  1. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    white space.jpg

    Hello,

    I would like to have three instead of four feature images on my homepage. I user this code and it almost works:

    .one_fourth {
    width: 29%;
    margin-right: 4%;
    }
    .last {
    display: none;
    }

    There is only one problem. It doesn't fill the whole width! I have got white space on the right of the third feature image..

    Thanks
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    1. Remove your code i.e.
    Code:
    .one_fourth {
    width: 29%;
    margin-right: 4%;
    }
    .last {
    display: none;
    }
    from the Custom CSS Section (Appearance -> Theme Options -> Styling Options -> Custom CSS).

    2. Go to the front-page.php (Theme directory -> front-page.php ) present in the Theme Directory
    and edit the code as shown in the image given below.

    [​IMG]

    [​IMG]

    3. Now,
    Paste the following code in your custom css
    Appearance -> Theme Options -> Styling Options -> Custom CSS
    Code:
    .content img {
    width: 267px;
    }
    This will solve your issue.
     
  3. chndr

    chndr Member

    Joined:
    Feb 27, 2012
    Messages:
    47
    Likes Received:
    1
    Thank you. This topic can be closed
     
Thread Status:
Not open for further replies.

Share This Page