Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: This theme looks great in Firefox but…

    #10940

    Good catch, Winni! I’ve made the fixes and will include it in the next version.

    Admin

    In reply to: How to change the height of the header – and other questions

    #10982

    I’m starting to play around with the php code and would like to change the height of the header image, as it doesn’t work very well with our logo.

    You need to change the CSS properties of the #header element. If you’re modifying the theme using a child theme, this is what you would have to add to the child theme’s style.css file:

    #header {
    height:298px;
    }

    Additionally, you would have to create a new functions.php file in the child theme’s folder, and add the following PHP code:

    <?php

    /**
    * Modify the height of the header image
    */
    function graphene_modify_header_height(){
    return 298;
    }
    add_filter('graphene_header_image_height', 'graphene_modify_header_height');

    ?>

    Modify the value after the height: in the CSS file and after the return in the PHP file to whatever height you want to use for your header image. Notice that the height in the PHP file doesn’t require unit, but the CSS file does.

    Additionally, I would like to change the color of the menu bar and the main column frame (which is currently black).

    You can modify the colour of the menu bar and the column frame by modifying the child theme’s style.css as well. You will also need to edit or create a new background image to be used for the colour you want. This is quite an easy fix if for someone who is proficient with CSS and sprite images, but quite a lot to explain it here. You might want to get someone to do that for you.

    Admin

    In reply to: Error 404 – Page Not Found

    #10985

    Seems to me like there’s something wrong with your permalink settings, or static front page settings (if you use a static frontpage).

    Did the .htaccess file gets successfully updated when you set the permalink settings?

    Admin

    In reply to: How to modify the theme using a child theme

    #10837

    Hi BenGladden,

    Do not copy the entire style.css file from the Graphene theme’s folder into the child theme. Create a new style.css file instead, and only add CSS codes for the elements that you want to change.

    The main style.css contains reference to background images which do not exist in the child theme folder. Of course, you can copy the entire images folder as well, but this is unnecessary.

    The purpose of child theme is to make modifications easier and preserve the changes when there’s an update. Copying the entire style.css file into the child theme defeats both of those purposes.

    Admin

    In reply to: This theme looks great in Firefox but…

    #10938

    I can actually make the other browsers that don’t support the new CSS3 border-radius property show rounded corners, but that will involve using images, which will just complicate things, especially with the theme using sprite images. I decided that it’s just too much trouble to be worth it.

    Admin

    In reply to: How to modify the theme using a child theme

    #10835

    In that case you have to find a value to reset that CSS property. position:static, maybe?

    Admin

    In reply to: widgets out of control

    #10980

    Hi,

    What do you mean by ‘on the end of the page’? Do you mean that the widgets are at the bottom of the page? I took a look at the website that you mention, but can’t see the problem you’re describing.

    To uninstall the theme, go to the Graphene Options admin page and scroll down to the bottom, there’s an uninstall button.

    Admin

    In reply to: Display full posts in archives/categories

    #10979

    Open the loop.php file and navigate to line 58. Then replace the following line:

    <?php if (!is_search() && !is_archive()) : ?>

    with this:

    <?php if (!is_search()) : ?>

    Basically, you just need to remove the !is_archive() conditional.

    Admin

    In reply to: How to modify the theme using a child theme

    #10833

    So I followed these directions, accurately too I believe, but can’t seem to REM out the RSS button on top. I basically copied your RSS code in the original style.css to this child one, and put them between /* and */. The RSS button still shows…

    What you did, essentially, is nothing. When you commented what you copied, you are basically making the codes invisible to the browser, so the codes from the original CSS is still used. CSS’s cascading property allows you to override the styling, not disable them.

    Do this instead:

    #rss a {
    display:none;
    }
    Admin

    In reply to: This theme looks great in Firefox but…

    #10936

    This post is not very useful at all. It doesn’t help anyone to know what’s the problem with the other browsers at all. “They fall very short” is simply a useless description.

    I have personally tested the theme with IE6, IE7, IE8, Firefox, Chrome, and Safari myself, and they all work well, except for a few minor caveats in IE6, such as the max-width property is not supported, so if you have an image that’s larger than the containing element, it will overflow instead of being resized.

    I’ve spent lots of time making this theme compatible with IE6, and anybody doing web development knows that IE6 is such a pain in the ass. I might drop support for it soon, seeing that it’s market share is less than 7% and continues to decrease.

Viewing 10 posts - 5,981 through 5,990 (of 6,030 total)