Syahir Hakim
KeymasterKuala Lumpur, Malaysia
When not perched on my workspace, I tremendously enjoy hiking in the bushes and climbing mountains. They serve as much-needed refuges from the pretense of cities.
Forum Replies Created
-
Admin
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
September 11, 2010 at 2:44 am #10982I’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
#headerelement. If you’re modifying the theme using a child theme, this is what you would have to add to the child theme’sstyle.cssfile:#header {
height:298px;
}Additionally, you would have to create a new
functions.phpfile 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 thereturnin 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.cssas 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
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
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
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 that case you have to find a value to reset that CSS property.
position:static, maybe?Admin
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
Open the
loop.phpfile 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
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
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.
