Poloray Category Archive Image Size

Discussion in 'Poloray WordPress Theme' started by atlasprowriter, Jun 24, 2014.

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

    atlasprowriter Member

    Joined:
    Sep 19, 2012
    Messages:
    92
    Likes Received:
    3
    Hi,

    I would like to change the size of all the displayed images on the category archive pages. The width is fine, but I need them to be taller. How can I do this? Thanks. Here's an image of what I want to change. Screenshot Poloray image size.png
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .archive .content-bar .post .post_content img.postimg {
    height: 300px;
    } 
    You can adjust the value of "height" as per your requirement.
    This will solve your issue.
     
  3. atlasprowriter

    atlasprowriter Member

    Joined:
    Sep 19, 2012
    Messages:
    92
    Likes Received:
    3
    Hi. That stretched them out. Is there a way I can keep the proportions without cutting off so much of the image?
     
  4. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard, instead of code provided in the above post.

    Code:
    .archive .content-bar .post .post_content img.postimg {
    max-width:100%;
    height: auto;
    } 
    After that go to the loop.php file present in your theme directory and follow the instruction shown in the image given below.

    [​IMG]


    I hope this will fulfill your requirement.
     
  5. atlasprowriter

    atlasprowriter Member

    Joined:
    Sep 19, 2012
    Messages:
    92
    Likes Received:
    3
    Thanks Piyush. That solution worked great!
     
    Piyush likes this.
Thread Status:
Not open for further replies.

Share This Page