Forum Replies Created
-
AuthorPosts
-
pym_74Member
it works now.
pym_74Memberthanks
pym_74MemberOk thanks,
I try it, it works for slide shaking.
but for the navigation menu, I had the problem again.I find the solution. it was the script from Typekit font. I put it in Genesis setting in the backoffice.
It starts at the end of the <HEAD>.I tried with Google Font and I had no problem..
So I will continu with Google Font. But I think if I have to use Typekit, I must insert it with a function at the beginning of the <HEAD>.Bye,
Have a good New Year's Eve
pym_74MemberHello, thanks for your help.
my goal is to code more cleanlyI put here a video to show the problem.
This output in the menu HTML is odd; are you using a custom menu/enhancement of some kind?
I create the menu with the WordPress backoffice, and change the css,
For the navigation menu, I target « a », maybe it could be the problem ?
/*link a*/ .nav-primary .genesis-nav-menu a { color: #379ea2; text-decoration:none; border: 1px solid #379ea2; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px border-radius: 10px; margin: 5px 15px 5px 10px; height:27px; width:200px; padding:2px; text-align:center; }
I also don’t see the slider (although the JS code is loaded…) Is it on an internal page?
I put this code in my function php:
//* Register before header widget area genesis_register_sidebar( array( 'id' => 'home-top', 'name' => __( 'Home Top', 'genesis-sample' ), 'description' => __( 'Le widget est placé en haut', 'genesis-sample' ), ) ); add_action( 'genesis_before_header', 'slider_top', 3 ); function slider_top() { genesis_widget_area( 'home-top', array( 'before' => '<div>', 'after' => '</div>', ) ); }
and I used the plugin Cyclone Slider 2 , and drop into my Widget « home-top »
What browser(s), OS?
Safari and Chrome = shaking
Firefox = is not shaking
OS = El CapitanWhat happens when plugins are disabled?
Same problem
Merry Christmas Tom 🙂
pym_74Memberin fact, my question, is:
Where put my function with my html code ?pym_74MemberThanks Sonia,
Ok,
if I had a special design on a page, must put html inside to build a frame (div, photo…) with text or something else,
and I want to put it after header,
I have to create a page template, and put a hook inside,
because if I put it in function.php, that will appears on all pages ??? or not ?thanks
-
AuthorPosts