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
Cool. I’ll push for this update soon. Any other bugs requiring urgent updates that you found?
Admin
If you see in the theme’s
style.cssfile, the CSS rules for the blue background colour of the slider is this:-pie-background: linear-gradient(left top, #0F2D4D, #2880C3);
background: #0F2D4D;
background: linear-gradient(left top, #0F2D4D, #2880C3);
background: -moz-linear-gradient(left top, #0F2D4D, #2880C3);
background: -webkit-gradient(linear, left top, right bottom, from(#0F2D4D), to(#2880C3));In contrast, this is what you have in your child theme’s style.css for the slider background CSS rules:
background: -moz-linear-gradient(left top , #E0E0E0, #EEEEEE) repeat scroll 0 0 transparent;
background: -webkit-gradient(linear, left top, right bottom, from(#E0E0E0), to(#EEEEEE));
background: linear-gradient(left top, #E0E0E0, #EEEEEE);You see, the theme’s
style.cssuses 5 lines of CSS when declaring the background colour for the slider, and every single line of those is there for a reason. The reason is each line supports different browser, e.g. line 1 for IE8 and below, line 2 for IE9, line 3 for future browsers that support CSS3 natively, line 4 for Mozilla-based browsers, like Firefox 3.6 and older, and finally line 5 is for webkit-based browsers, like Google Chrome and Safari.As these browsers get updated and fully supports CSS3 natively and almost all of web users switch to these modern browsers, those 5 lines will be reduced to only a single line: line 3. But it would take years and years before that happens, so what we’re using there is a method that supports both past and future browsers, at a cost of 4 extra lines. It’s a pretty teenie tiny price to pay.
So now you know that, hopefully you will also realise that in order for your customised slider background colour to show consistently in all major browsers, you’d have to include all 5 lines in your custom child theme’s
style.cssfile as well. The same goes for other elements in the theme that uses linear gradient, like the sidebar item’s header, and the block buttons.Admin
In reply to: Change color on background of sidebar widget headers
February 23, 2011 at 3:09 pm #12847Admin
It’s a slider. See the theme’s demo for an example of what it can display: http://dev.khairul-syahir.com/wordpress/
There is also an option to display the post’s image either as a thumbnail or as a background image.
Admin
In reply to: I don't want to display subpages excerpt on parent page…
February 23, 2011 at 3:03 pm #12829Just create an empty file called
loop-children.phpin your child theme’s folder. The next version will include an option to disable the child pages listing.Admin
Can you paste the URL of the feed you used in the widget?
Admin
Kim, can you try replacing the theme’s loop.php file with this code here: http://pastebin.com/zmAyLkdM
Let me know if that fixes the issue. It does it on my end.
Admin
Damn, I missed this. Fixing it now.
Admin
In what way is the RSS feed not working?
Admin
In reply to: how to add a facebook icon next to rss icon at the top of theme
February 23, 2011 at 3:28 am #11438It should be working with the new update. Also, do not copy the theme’s functions.php file into the child theme’s folder. Create an empty functions.php file, and add codes there as necessary.
