Return to Support

Numer of columns for post site

Home Forums Graphene WordPress theme Support Numer of columns for post site

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #6068
    m_pearl
    Member

    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

    #33247
    Josh
    Member

    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?

    #33248
    Syahir Hakim
    Keymaster

    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.

    #33249
    m_pearl
    Member

    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ł

    #33256
    m_pearl
    Member

    i cant’ put a reply

    #33260
    Syahir Hakim
    Keymaster
    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.

    #33261
    m_pearl
    Member

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

    What is next step?

    #33262
    Syahir Hakim
    Keymaster

    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.

    #33263
    m_pearl
    Member

    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.