Forum Replies Created
-
AuthorPosts
-
neilgeeMember
This is because of the default CSS for transitions.
If you change your style.css at line 2755 to
.nav-primary li.current-menu-item a { background: url('http://www.tep.jamandjuice.net/wp-content/uploads/2015/12/hover.png') no-repeat center; } .nav-primary li.menu-item a:hover { background: url('http://www.tep.jamandjuice.net/wp-content/uploads/2015/12/hover.png') no-repeat center; transition: none; } .nav-secondary li.current-menu-item a { background: url('http://www.tep.jamandjuice.net/wp-content/uploads/2015/12/hover.png') no-repeat center; } .nav-secondary li.menu-item a:hover { background: url('http://www.tep.jamandjuice.net/wp-content/uploads/2015/12/hover.png') no-repeat center; transition: none; }
Here we are setting the 2 menus links to have no transitions on hover.
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberJust add the latest snippet (i edited it to make it work on mobile/tablet)
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberTry and paste this CSS at the bottom of your style.css (or find and edit the original CSS selectors) (edited to fix Media Query
.home-middle .featured-content.featuredpost { background: transparent; } .agency-pro-home .content .featuredpost .entry { background: none; float: left; width: 31%; margin: 1%; } @media only screen and (max-width: 1023px) { .agency-pro-home .content .featuredpost .entry { width: 48%; } } @media only screen and (max-width: 680px) { .agency-pro-home .content .featuredpost .entry { min-height: 380px; width: 100%; } }
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberOnce you reactivate plugins yes any functionality they add will be brought back to life, I have not used Prose before I think it is an older SP theme but I would imagine that it uses the standard wp_footer() hook.
Neil Gee
WP Beaches
Coolest GuidesAugust 17, 2015 at 6:09 pm in reply to: I want to show the header only on homepage and blog page in enterprise pro theme #162684neilgeeMemberIn functions.php try
//conditionally remove header function themeprefix_remove_header() { if( !is_front_page() && !is_home() ){ remove_action( 'genesis_header', 'genesis_header_markup_open', 5 ); remove_action( 'genesis_header', 'genesis_header_markup_close', 15 ); remove_action( 'genesis_header', 'genesis_do_header' ); } } add_action( 'genesis_before','themeprefix_remove_header' );
https://gist.github.com/neilgee/e5a996f157598a9044fb
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberSome people use plugins to display mobile content, what you need to do is eliminate a plugin conflict - if you turn off all plugins except meta slider does the issue still occur?
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberThat is odd - the plug in has over 500,00 installs so you would think that it would be ok.
It might have a clash with another plugin used on your site, do you use a plugin to server mobile content?
You will have to via the process of trial and elimination enable/disable plugins to see which one may be causing the issue.
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberHi,
Apologies, yes you are right - just checked a couple of sites I have used BBPress and they have that plugin installed - but I wouldn't let that deter you.(it was BuddyPress I was thinking that doesnt need the compatability plugin anymore)
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberYou don't need an additional plugin BBPress works fine with Genesis
https://codex.bbpress.org/getting-started/installing-bbpress/single-site/
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberThat will work ok - just a matter of preference, where you put the functions.
The CHILD_THEME_NAME and URL are more of a Genesis constant rather than WordPress, from what I can see you don't really need them - they do control some link footer output on existing SP themes but if you're building your own it is not compulsory - just as long as the theme name and parent(template) are defined in style.css
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberYou can set the title attribute and text translatable by using the excerpt_more filter
//Translate the Read More on an excerpt for a post function genesischild_read_more_link() { return ' <a href="' . get_permalink() . '" class="more-link" title="' . __('Read More', 'text-domain') . '" >' . __('Read More', 'text-domain') . '</a>'; } add_filter( 'excerpt_more', 'genesischild_read_more_link' );
Neil Gee
WP Beaches
Coolest GuidesFebruary 24, 2015 at 11:25 pm in reply to: Magazine Pro Header Image smaller on home page only #142154neilgeeMemberI see why - yo u have header-image as a body class - so just amend the code at the bottom to be...
body.home .site-title a { min-height: 130px; }
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberI can still see Oswald in use on the CSS - check line 1032...
.nav-primary .genesis-nav-menu a { font-family: 'Oswald', sans-serif; font-size: 14px; }
Neil Gee
WP Beaches
Coolest GuidesFebruary 24, 2015 at 10:06 pm in reply to: Magazine Pro Header Image smaller on home page only #142149neilgeeMemberYou have the CSS rule stuck inside a media query - you just need to move it out
from this...
.two-thirds { margin: 0; width: 100%; } body.home .header-image .site-title a { min-height: 130px; } }
to this...
.two-thirds { margin: 0; width: 100%; } } body.home .header-image .site-title a { min-height: 130px; }
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberCould have been multiple functions with the same name try....
//* Enqueue Google fonts add_action( 'wp_enqueue_scripts', nem_load_google_fonts ); function nem_load_google_fonts() { wp_enqueue_style( 'nem-googlefonts', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,400,300|Open+Sans+Condensed:700', array(), CHILD_THEME_VERSION ); }
That will load all the google fonts in one call - if you wanted more you can separate them with the '|' pipe symbol
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberYes you will need to paste it at the very bottom outside of the last curly brace, at the moment its pasted inside a media query.
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberOh yes I see, thats a h3 tag with no CSS styling, so you could add in your CSS just after line 1081
h3 { line-height: 35px; }
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberI can see the difference, I can see you set it to 60px and it's double the height - perhaps look at the site in a private/incognito window - maybe a browser cache issue is not letting you see difference
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberNo that's the right CSS so if you increase that line-height value from 30px to a higher value you should notice the difference.
Neil Gee
WP Beaches
Coolest GuidesneilgeeMemberYou can change in your style.css on line 781 - the background color value for the color and the padding for the size -
.genesis-nav-menu .search-form input { background-color: #1cd5ff; border: 1px solid #222; color: #fff; text-transform: uppercase; width: 180px; padding: 10px 20px; }
Here I changed the value to #1cd5ff and changed the padding to make it wider (20px)
Neil Gee
WP Beaches
Coolest Guides -
AuthorPosts