Forum Replies Created
-
AuthorPosts
-
vissersjParticipant
No I can't figure it out, not skilled enough..
vissersjParticipantThanks, but I am not sure how to make it work. The body in the background should be fixed if the toggle menu is activated. I tried the CSS code below, but without luck. Am I on the right track here?
.content .menu-toggle.activated, .full-width-content .menu-toggle.activated { overflow: hidden; height: 100%; }
vissersjParticipantThanks for your reply. I use the Navigation Pro theme version 1.2.0.
vissersjParticipantIt's not optimization and I understand it has something to do with the script, but what? I have added the script below in functions.php and the necessary javascript/css. I know it should work, because it works on website https://tinyurl.com/yyeg7lnn .
// Enqueue Scripts and Styles.
add_action( 'wp_enqueue_scripts', 'oc_enqueue_scripts_styles' );
function oc_enqueue_scripts_styles() {wp_enqueue_script( 'oc_sticky_message', get_bloginfo( 'stylesheet_directory' ) . '/js/sticky-message.js', array( 'jquery' ), '1.0.0' );
}//* Register widget areas
genesis_register_sidebar( array(
'id' => 'sticky-message',
'name' => __( 'Sticky Message', 'oc' ),
'description' => __( 'This is the sticky message section.', 'oc' ),
) );// Add markup for the sticky message.
add_action( 'genesis_before', 'oc_sticky_message' );
function oc_sticky_message() {genesis_widget_area( 'sticky-message', array(
'before' => '<div class="sticky-message">',
'after' => '<span class="screen-reader-text">Dismiss</span></div></div>',
) );
}vissersjParticipantLink website is https://tinyurl.com/yxvvb5vs , but I have put /*'.nav-header',*/ because I couldn't find a way to make it work with Hamburger menu in mobile viewing.
vissersjParticipantHi Victor,
Hi Victor,
Thank you for your reply. Unfortunately a simple remove action won't work, because it's executed before the plugin code is loaded. But you pointed out that the function is executed to late and the action was wrong. So I have changed the code snippet and this works now. Thanks again for your help!
// Remove and add title before content Genesis Testimonial Slider plugin add_action( 'gts', 'remove_gts_title', 8 ); function remove_gts_title() { remove_action( 'gts', 'gts_title', 10 ); } add_action( 'gts', 'gts_title', 7 );
vissersjParticipantThe featured image option is not visible in general theme settings, but the issue was related to cache.
vissersjParticipantHi Victor,
Thanks for your reply, but are you sure? I can't figure that out. I am talking about the little triangle that comes up with a sub-menu. I would like to have it blue instead of black. Please see http://kringloop2switch.nl/ .
With kind regards,
Sjors
October 26, 2016 at 4:56 am in reply to: Sticky primary menu after header for Wellness Pro theme #195334vissersjParticipantThank you, but this solution worked better for me: http://www.simpleprothemes.com/sticky-navigation-menu-flex-pro-theme/
vissersjParticipantvissersjParticipantThank you Victor, that solved my problem!
vissersjParticipantThank you, your awnser solved my question!
January 15, 2016 at 9:59 am in reply to: Hide archive-title and div.after-header Workstation Pro #176595vissersjParticipantHi Victor,
Thanks for your reply. An example of the situation can be found here (templates > blog page), because my website is not live yet: http://my.studiopress.com/themes/workstation/#demo-full
I don't think hiding css will do the trick, because div.after-header is also used on the homepage.
With kind regards,
Sjors
vissersjParticipantThis works better in the child theme css I think:
.woocommerce.content-sidebar .content {
background: #fff;
padding: 40px;
border-radius: 3px;
}vissersjParticipantUnfortunately changing .content isn't a solution, because it will also add a white background to the homepage..
-
AuthorPosts