Syahir Hakim

Keymaster

Forum Replies Created

  • Admin

    In reply to: Search results with pages..

    #12864

    Cool. I’ll push for this update soon. Any other bugs requiring urgent updates that you found?

    Admin

    In reply to: blue slider in IE

    #12848

    If you see in the theme’s style.css file, 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.css uses 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.css file 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
    Admin

    In reply to: Blue frame on Home page…

    #12844

    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…

    #12829

    Just create an empty file called loop-children.php in your child theme’s folder. The next version will include an option to disable the child pages listing.

    Admin

    In reply to: RSS Feed not working

    #12865

    Can you paste the URL of the feed you used in the widget?

    Admin

    In reply to: Search results with pages..

    #12862

    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

    In reply to: Search results with pages..

    #12861

    Damn, I missed this. Fixing it now.

    Admin

    In reply to: White line, how to remove it

    #12810

    In what way is the RSS feed not working?

    Admin

    It 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.

Viewing 10 posts - 5,241 through 5,250 (of 6,030 total)