Numer of columns for post site

  • m_pearl

    #6068

    Hello,

    How to set up a different number of columns only for Post site (i want to 2 column) if i have a deafult choosen Three column theme for Home page – start page?

    Michal

    Josh

    #33247

    You can change template types for pages… not for posts. I think there might be a modification you can make to the theme to get templates into posts.

    So.. do you HAVE to have it for posts only… or can you use pages instead?

    Admin

    Syahir Hakim

    #33248

    Link to your site? If you’re using static front page, you can do this easily by setting the front page template to three columns, and setting the default column option to two columns in Graphene Options.

    m_pearl

    #33249

    Thank you for reply.

    My website: arteterapia.kylos.pl

    1. I have set up a Front/Home site as Category for Article (it is not static page).

    I use a themplate three columns on the right and left side – graphene options.

    2. For page two colun all working ifne:

    http://arteterapia.kylos.pl/?page_id=4541

    problem:

    3. I dont’t now how set up a default page for all posts as Theme Two columns with sidebar on the right:

    http://arteterapia.kylos.pl/?p=4525

    Michał

    m_pearl

    #33256

    i cant’ put a reply

    Admin

    Syahir Hakim

    #33260
    Quote:
    i cant’ put a reply

    You’re probably putting too many links so the forum flagged it as spam.

    You will need a child theme to achieve what you’re trying to do. Here’s a guide on how to create a child theme:

    http://docs.graphene-theme.com/Customisation_using_a_child_theme

    Post back here when you’ve done that.

    m_pearl

    #33261

    Done. I have installed child- theme, but i see big mess now.

    What is next step?

    Admin

    Syahir Hakim

    #33262

    What big mess? Your site appears fine to me.

    Now, create a functions.php file inside your child theme folder, and insert this code into that file:

    <?php
    function graphene_mod_column_setting(){
    global $graphene_settings;
    if ( is_home() ) $graphene_settings['column_mode'] = 'three_col_center';
    }
    add_action( 'template_redirect', 'graphene_mod_column_setting' );

    Then select two columns and the default column mode in Graphene Options > Display > Column Mode Options.

    m_pearl

    #33263

    WORKS GREATE!

    I am with Graphene over 1 year and this is my second webside with this Theme.

    THANKS A LOT!

    Againe, i think that Graphene is the best and support GREAT and very HELPFULL!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.