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
There are quite a number of CSS elements styling that needs to be changed in order to consistently change the width of the theme. You probably missed changing a few.
Use Firebug extension for Firefox to figure which are those and change them.
To change the top bar height, place this in Custom CSS option or in a child theme’s
style.cssfile:#top-bar {
height: 54px;
}Note though the maximum height it can take is 65px. Any more than that it’ll show up the other element in the sprite image it’s using as background. If you absolutely need it to be more than that, just change the background as well so it won’t be using the sprite image.
Admin
In reply to: How Can I hide the posts under BLOG that I am using for the slider
July 6, 2011 at 10:50 pm #15118Or you could try this: https://forum.graphene-theme.com/topic/my-graphene-slider-picture-setup#post-4351
Admin
Put in Custom CSS or child theme’s
style.cssfile:.commentmetadata {
display: none;
}Admin
Put in Custom CSS or child theme’s
style.cssfile:#sidebar_bottom .sidebar-wrap {
height: 200px;
}Of course, change the height value to whatever value you want.
Admin
Erm…you’re treading on an unknown path here…
Firstly, there’s the jQuery library. It is a huge library, providing a javascript framework that is both powerful and easy to use.
And then there’s the jQuery Tools library, which is the library that provides the slider functionality.
Here are the key points you need to realise:
1. These are two different libraries.
2. The jQuery Tools library requires the jQuery library in order to work.
3. The jQuery library does not require the jQuery Tools library to work, but it provides the functionality that the jQuery Tools library needs.
So as a result, both libraries need to be loaded in order for the slider to work.
Changing the Graphene code like you did:
function graphene_scrollable_js() {
wp_enqueue_script('jquery', 'http://cdn.jquerytools.org/1.2.5/all/jquery.tools.min.js', array('jquery'), '', true);
}is wrong because you are telling WordPress that the jQuery Tools library is the jQuery library, which is wrong, and will probably break almost all scripts that depend on jQuery on your site.
I’m beginning to suspect that Propel is at fault here because from what you mentioned, it seems like Propel is using a specific version of jQuery, perhaps loaded from somewhere else (Google AJAX CDN?).
Graphene, on other hand, uses the jQuery library that comes bundled with WordPress. This is the way it should be done, because WordPress itself and a lot of other plugins are using the jQuery version that comes bundled with WordPress. Changing it to different version will break a lot of things.
Admin
Good post, Ken! I’m sticky-ing this.
Admin
Not sure if it can be fixed at all, as it may be the browser’s security feature that prevents scripts from executing except when the tab is viewed. I noticed this happens in Chrome as well. Anyways, I’ll take a look around to see if there’s any more info about this.
Admin
I noticed that it only does this when you view other tabs in your browser when the page is loaded, and then return back to the tab where the page is. Something like javascript execution in one tab is halted when you switch to other tabs in Firefox.
Admin
You need to use the Custom Menu function to be able to change the labels.
Go to WP Admin > Appearance > Menus.
Admin
In reply to: Completely Green to coding-Need Help with Slider and Posts on Home page
July 5, 2011 at 9:43 pm #14928Er…how do you set up the redirect in the first place?
