Forum Replies Created
-
AuthorPosts
-
Onizuki
Memberhi there
thank you for your answer Christoph, I was trying the same
(got that here https://www.chriswiegman.com/2013/06/remove-the-default-style-css-in-wordpress-with-genesis/ )
but this is not working for me. Just nothing happens.Diggin a bit more (https://gist.github.com/srikat/052b16174a20b260b505) I got it working with
function as_postpone_genesis_stylesheet() {
remove_action( 'genesis_meta', 'genesis_load_stylesheet' );
}
add_action( 'genesis_setup', 'as_postpone_genesis_stylesheet' );Now I have a couple mysterious links on the page...
Skip links
Skip to primary navigation
Skip to contentOnizuki
MemberHi Chris
that worked. Thanks for helping.best
October 22, 2015 at 5:19 am in reply to: How to keep an active state on the menu while viewing other cpts #168748Onizuki
MemberHi Andrea
thanks for answering.
Thats pretty much exactly what I was looking for.
I had to apply a correction to make it work for me
from this
if( ( is_singular( 'post' ) || is_category() || is_tag() ) && 'Blog' == $item->title )
to this
if ( is_singular('post') && 'Blog' == $menu_item->title )
bestOnizuki
Memberfinally found it
.site-inner{
padding-top: 1;
}Onizuki
MemberHi Porter
Yes that was my same idea. It doesn't help.
August 20, 2015 at 6:36 am in reply to: Retrieving a variable from a custom function and getting "Undefined variable:" #162984Onizuki
MemberThank you 🙂
Onizuki
MemberDoesnt look like overkilling to me. A couple lines of code that can just save time.
For anyone interested I found a link on the net which partially solves the problem.
http://wordpress.org/support/topic/wp-variable-for-url-path-to-theme-directory-needed?replies=2Onizuki
MemberHi Gary,
I mean a variable for the path.
For example through LESS
I declare a variable like
@path-to-assets: "/wp-content/themes/genesis/assets/";
and then I load it in style.css
background-image: url("@{path-to-assets}background.jpg");so in this case should be like a php variable
for the path '/assets/', should I change its locations
I will just change this variable instead of looking for
where it is called in all the files.PS.
nice guide!Onizuki
Memberworked perfectly 😉
Onizuki
MemberHi nutsandbolts
thank you for your answerI didnt know that. I am using the genesis base with html5 option selected.
Activate Genesis HTML5 Markup [?] from genesis extender.
Where can I see a list of the html5 hooks?
Besides is it a good idea to activate the html5 markup?Anyway even with this new code I still see the date and author at the top of the post.
Onizuki
MemberHi Blusteel
I'm on the genesis base child theme.
I dont know how to set a custom class on the middle menu item.
Do I have to use the function.php?Onizuki
MemberThank you
Onizuki
MemberThe submit button. I need a css effect that looks like there is a screen moving up/down on hover.
Onizuki
MemberHallo
Im using chrome developer, is there any big difference with firebug?
Im having problem even finding the button, Im opening many divs without finding it. Actually there is a better hacking tool for newbies? Looking how others made the work can be a great way to improve the skills you need.thanks
December 10, 2013 at 9:19 am in reply to: .genesis-nav-menu .menu-item (different on 2nd menu) #78058Onizuki
Memberthank you!) works great
Onizuki
MemberHallo Andrea
thx for answeringlooks like the problem is smt else,
i already have this lines of codes
this is my css
html {
font-size: 62.5%; /* 10px browser default */
}body {
background-color: #f5f5f5;
color: #666;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 16px;
font-size: 1.6rem;
font-weight: 300;
line-height: 1.625;
} -
AuthorPosts