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
Nope, I don’t think so I’ll do that. I really don’t want to clutter the theme’s Options page with options that not many people will use.
AdminYou need to change the width CSS property of the following elements:
Increase the width of these elements:
#content-main
.post
.entryDecrease the width of these elements by the same amount you increased the width of the above elements:
#sidebar-right
.sidebar div.sidebar-wrapAdminCurrently, you would have to copy the entire code for the slider, then hide the current slider using CSS, then create a new function that will display the slider inside the functions.php file in your child theme, then hook that new function to one of the action hooks available with the theme.
AdminI don’t think I’ll be including that as an option in the backend for the theme. I just don’t see many users of the theme needing this change, so adding those options will only clutter the Options page.
Please use a child theme to make this modifications instead.
AdminThe easiest way I can think of right now without modifying the theme’s codes is by defining your own widget area in the child theme’s sidebar.php, create a function that displays the widget area, hook that function to one of the action hooks available with the theme, and then use CSS absolute positioning to position the new widget area you just define.
Not exactly easy, I know, but doable 🙂
AdminDropdown menu is already enabled by default. If you don’t set a Custom Menu using the WordPress’ Custom Menu function, the menu will display the pages as the menu items and their children will be the dropdown menu items.
AdminThe update has already been released. The current version already has action hooks included.
AdminHi mehulved,
I suspect that the problem is caused by missing closing </div> when you remove the sidebar. Use Firebug (a Firefox extension) to investigate further.
AdminIn addition to changing the CSS codes you mention above, you also need to change several parameters. By using a child theme, put this code into
functions.php
file in your child theme:<?php
function graphene_custom_header_width(){
return 900;
}
function graphene_custom_header_height(){
return 198;
}
add_filter('graphene_header_image_width', 'graphene_custom_header_width');
add_filter('graphene_header_image_height', 'graphene_custom_header_height');
?>Change the values inside the functions to the corresponding width and height that you want.
Note that this code in untested, but it should work. Let me know if you run into any problem.
AdminJust an update on the slider image. In the next update, you will be able to choose the image to use as slider image from the following options:
1. First image in post
2. The post’s Featured Image
3. Custom image by URL
In addition, you will also be able to set a global settings (e.g. use first image in post as slider image), but can override this settings in individual posts.