Change home panes size: put one row with four posts

  • Anonymous

    #32482

    Okay, remove #container from #container .one-column .homepage_pane

    .homepage_pane {
    margin: 20px 5px 15px !important;
    }

    .homepage_panes .alpha {
    clear: none;
    }

    .homepage_panes .omega {
    float: left;
    margin-right: 10px;
    }

    .one-column .homepage_pane {
    width: 23% !important;
    }

    should result in,

    CNZvU.png

    jrpinto

    #32483

    Thank you very much. I tried but did not result. I want exactly what you have in image above. I added the code that you told but the result wasn’t the same.

    Anonymous

    #32484

    Okay, try this. First move the above Custom CSS to child theme style sheet (style.css). Then go to Graphene Options –> Advanced –> Move Generated CSS and select I have moved the generated CSS and Save Options. Now refresh page. If it shows four column in homepage panes, then copy generated CSS and paste it above the homepage panes CSS.

    Just wondering why did you rename the parent theme directory as graphene-child-v1_8? If you are doing it to make a child theme, you are going wrong..

    jrpinto

    #32485
    Quote:
    Okay, try this. First move the above Custom CSS to child theme style sheet (style.css). Then go to Graphene Options –> Advanced –> Move Generated CSS and select I have moved the generated CSS and Save Options.

    Where i put the new file style.css?

    Quote:
    Just wondering why did you rename the parent theme directory as graphene-child-v1_8? If you are doing it to make a child theme, you are going wrong..

    Yes. I rennamed entire directory to change the code on the original files.

    Anonymous

    #32486
    Quote:
    Yes. I rennamed entire directory to change the code on the original files.

    You should never edit core files. You’ll lose all modifications when you update the theme. That’s where child theme comes into action. If you want to change anything in the theme, either use theme options or modify the theme via child theme.

    Quote:
    Where i put the new file style.css?

    See this topic – https://forum.graphene-theme.com/graphene-support/how-to-modify-the-theme-using-a-child-theme

    jrpinto

    #32487

    Ok. I will make a child theme to see if the code above make what i want.

    Anonymous

    #32488

    Since you’ve changed the name of parent theme, you’d need to change

    @import url("../graphene/style.css");

    to

    @import url("../graphene-child-v1_8/style.css");

    in your child theme style sheet.

    jrpinto

    #32489

    I did what you said but did not show four column in homepage panes…

    Anonymous

    #32490

    Hmm.. I’ve no idea. Something might be wrong with your theme modifications. The above code works even in my test site – http://test.prasannasp.net/

    I can take a look at the issue if you’re willing to give me temporary access to your WP admin area. Mail me if you are ready to gimme access to your site. (Not now. Bed time here..)

    jrpinto

    #32491

    It’s ok. I will mail you. I will re-install graphene theme and copy all my modifications to child theme. Then, i will mail you ok?

    Thanks for all support.

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

  • 1
  • 2
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!