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
Add this to the theme’s Custom CSS option:
#header {
border-top: none;
}Admin
In reply to: Switching to Graphene, need some help with customisations
August 13, 2013 at 2:06 pm #39861Quote:1. Remove Next & Previous Post linksI don’t want to display the Next & Preview Post links on single post view, if at all possible. I would, however, like to retain the breadcrumbs/parent link for pages, since I’m using those for subsites.
Add this to your child theme’s
functions.phpfile:/**
* Disables the single post navigation
*/
function graphene_post_nav(){
return;
}Quote:2. Featured images in posts and pagesIn the theme I’m currently using, the 150×150 thumbnail of the featured image is shown in each post (both front page and single post view), aligned right of the text. I’d like to add that Graphene if at all possible.
/**
* Add featured image as thumbnail to posts
*/
function graphene_post_thumbnail(){
if ( has_post_thumbnail() ) the_post_thumbnail( 'thumbnail', array( 'class' => "attachment-$size alignright" ) );
}
add_action( 'graphene_before_post_content', 'graphene_post_thumbnail' );Quote:3. Customise the sliderI’ve been digging through the CSS but I’m at a loss, so if I could be pointed in the right direction, that’d be fantastic. I’d like to remove the gradient strips from the slider and mess around with the general appearance a little more after that. If you can show me exactly where I need to look and what I need to change, I can experiment from there.
Add to child theme’s
style.cssfile:.featured_slider {
padding: 0;
}The CSS codes for the slider is on line 812 onwards in the theme’s
style.cssfile. I would suggest using Firebug to figure things like this out and experiment on the fly.Admin
Try disabling the News Announcement Scroll plugin and see if that fixes it. Also, what do you mean by the Lightbox feature partially works when using the TwentyThirteen theme?
Admin
OK, we’ll add them in the next update.
Admin
Quote:Can’t make any light-box plugin to work. Tried many already. It partially working when I switch the theme to “twenty thirteen”.This may be the same or related to the issue reported in this topic:
https://forum.graphene-theme.com/bug-report/graphene-191-breaks-lightbox-image-display
Admin
If you have a child theme setup, you can manually set the header image for certain pages, leaving the featured image available for the homepage pane image.
Admin
It’s right after the codes for the Pin It button.
Admin
Admin
This plugin is old but it may still work: http://wordpress.org/plugins/wp-chooseyourtheme/
Admin
Yes, you still need the helper plugin. It’s required to load part of the theme’s codes while in WP Admin so that you’ll have the GM Neo Options even when the theme isn’t activated. Besides that, it fills in for the limitation in the way that themes are loaded in WordPress so that certain advanced features can be made available.
