How can i have two columns on the homepage (without static page) ?

  • Mediacleg

    #29388

    Hello,

    Finally, i use a static page, with a photo gallery in the content of page “home”, it works well.

    Thanks a lot for your help.

    Mod

    Kenneth John Odle

    #29389

    if i configure a static page, as “home”, the content of the page “Home” is visible before the two columns panes. Or i don’t have any content to put in “Home”.

    This is easy to hide via custom CSS. It has been mentioned several times in this forum.

    Mediacleg

    #29390

    Oh ok sorry, i tried to find it but maybe i don’t use the good terms for searching…

    Mediacleg

    #29391

    Sorry²²²²² i found it.

    }.post-ID {

    display: none;

    Where post-ID is the ID of your static front page. (Example: post-123 )

    thanks again.

    Mediacleg

    #29392

    Just a little question about the static home page, where must i modify the css in order to enlarge the two columns ?

    I looked with firebug but nothing… 🙁

    Mod

    Kenneth John Odle

    #29393

    If you make your site wider (under Graphene options) then the homepage columns should naturally become wider. Is that what you meant? Or are you looking at the height?

    Mediacleg

    #29394

    The slider is set to 600px under Graphene options, but columns are not wider, there is a space between : http://nsa29.casimages.com/img/2012/06/24/120624080544462386.jpg

    Mediacleg

    #29395

    I add these lines in Graphene options in order ton enlarge columns on static homepage, it works, but how can i do to enlarge the thumbnails too ? They stay at the older dimension (250px)

    }.container_16 .grid_4 {
    width: 280px;

    }.homepage_pane .excerpt-thumb {
    text-align: left;

    }.homepage_pane img {
    height: 100%;
    margin: 0 0 5px;
    max-width: 280px;
    Admin

    Syahir Hakim

    #29396

    Put code in between backtick (

    Code:
    `

    ) characters. It’s usually located above the Tab key on your keyboard. I’ve edited your post this time.

    You wouldn’t want to change the width of the grid, as a lot of the theme’s elements depend on this, not just the homepage pane.

    You can change the width of the pane’s thumbnail by adding this to your child theme’s functions.php file:

    function graphene_custom_pane_image_width(){
    return 280;
    }
    add_filter( 'graphene_homepage_pane_image_width', 'graphene_custom_pane_image_width' );

    Mediacleg

    #29397

    Hello, thanks again for your help.

    Quote:
    You wouldn’t want to change the width of the grid, as a lot of the theme’s elements depend on this, not just the homepage pane.

    OK, but how can i enlarge the columns so ? Will the modification for thumbnails as u say will change the columns too ?

Viewing 10 posts - 11 through 20 (of 29 total)

  • You must be logged in to reply to this topic.