picture size for fullwidth blog-posts?

Discussion in 'GoldenEagle WordPress Theme' started by totr_de, May 23, 2013.

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

    totr_de Member

    Joined:
    Apr 20, 2012
    Messages:
    31
    Likes Received:
    0
    Location:
    Mainz, Germany
    Hi there

    according to this thread I removed the sidebar from my blog posts by manipulating single.php.
    Now my single posts do have exactly the same width as the home page and the slider. Hence, I assumed that I may use pictures of an identical size also for the blog posts. But why do the pictures not fit there?
    I am using 930 x 480 pictures for the slider but they are too big for the fullwidth blog-post. Why?

    Thanks, stephan.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS


    Code:
    .post.single a img.aligncenter {
    width: 930px;
    height: 480px;
    }
    .page-content .content-bar {
    padding-right: 5px;
    }
     
  3. totr_de

    totr_de Member

    Joined:
    Apr 20, 2012
    Messages:
    31
    Likes Received:
    0
    Location:
    Mainz, Germany
    Hi Gourav,

    Thanks for the quick reply. Your suggestion does not exactly solve my problem:
    - if I use your code, pictures are distorted;
    - hence, I removed "height: 480 px". This lead to the problem that pictures are not fully displayed on the right hand frame of the page, and also the blog text is being cut off on the right hand side.
    - I ended up with this code:

    .post.single a img.aligncenter {
    width: 910px;
    }

    This seems to solve my problem. And for future blog posts I may change your code adequatly.

    Thanks for your help.
    stephan
     
Thread Status:
Not open for further replies.

Share This Page