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
Quote:2) The other two ads are at the bottom of the page, because they do not fit without overlap anywhere else. Is there anyway to put the panoramic ad either at the very top of the page or below the slider?You must create a child theme for this. Then inside your child theme’s folder, add a new
functions.phpfile if you don’t already have one. Then add this code inside that file:<?php
function graphene_top_ad(){
?>
<!-- Insert your ad codes here -->
<?php
}
add_action( 'graphene_top_content', 'graphene_top_ad', 20 );
?>I pulled that out from the top of my head, but it should work.
Admin
Or you can use of the many Under Construction plugins available out there. They usually have some nice placeholder page that visitors will see. Logged-in users will be able to see the full site.
Admin
You have been added to the list. Thanks!
Admin
Hi Ricardo,
The double image is actually a feature of the mobile theme, where it displays the post’s featured image (or the first image from the post’s gallery if no featured image is defined) at the top of the post. You can disable this feature at Graphene Mobile > Display > Posts Display Options > Hide automatic image at the top of posts.
Also, I have fixed the issue with embedded video overflowing the content area. Will push an update soon.
Admin
Are you using Custom Menus? It shouldn’t matter whether the menu item is a category or a custom link to an external site, they should all work the same.
Admin
You can find all the CSS responsible for the menu styling beginning on line 259 of the
style.cssfile.I’ve also commented the sections accordingly, so you should be able to figure out which block is for which menu.
Example – the code for the top-level primary menu:
/* Top level header menu, default state */
#header-menu-wrap{
position: relative;
}
#header-menu {
background: url(images/sprite_h.png) left -3px repeat-x #101010;
}
#header-menu > li {
font: normal 14px arial;
margin: 0 2px;
}
#header-menu > li:first-child {
margin-left: 10px;
}
#header-menu > li > a {
color: #fff;
line-height: 16px;
padding: 9px 10px 10px;
}
#header-menu > li > a > span {
display: block;
font-size: 11px;
color: #aaa;
}
#header-menu > li.menu-item-ancestor > a {
background: url(images/sprite_master.png) -877px -236px no-repeat transparent;
padding-left: 26px;
}
/* Top level header menu, hover and current state */
#header-menu > li:hover,
#header-menu > li.current-menu-item,
#header-menu > li.current-menu-ancestor {
background: url(images/sprite_h.png) left -100px repeat-x #eee;
}
#header-menu > li:hover > a,
#header-menu > li.current-menu-item > a,
#header-menu > li.current-menu-ancestor > a {
color: #000;
}
#header-menu > li:hover > a > span,
#header-menu > li.current-menu-item > a > span,
#header-menu > li.current-menu-ancestor > a > span {
color: #484848;
}
#header-menu > li.menu-item-ancestor:hover > a,
#header-menu > li.current-menu-item > a,
#header-menu > li.current-menu-ancestor > a {
background-position: -877px -192px;
}Admin
Not really a concrete list, but I’m thinking of adding the colour options similar to the ones in the Graphene theme, plus optimising the codes to conform more to the mobile standard (e.g. as outlined in W3C’s mobile-readiness test).
But if you have any specific features in mind, now would be the time to suggest them 🙂
Admin
Yep, this will definitely be one of the first features that will be implemented in the theme.
Admin
Hi Sjaak,
I have just pushed an update to fix this issue. Please update your copy of Graphene Mobile and let me know if the problem still persists.
Admin
Please see this post about this issue: https://forum.graphene-theme.com/graphene-support/headlines-in-header#post-5635
