Forum Replies Created
-
AuthorPosts
-
danstelterMember
I see part of the problem: I don't see the edited changes immediately. That includes even if I type http://www.easyamazonprofits.com/?nocache
So, I'm editing in the right spot. At least for the margin between the H1 and main nav anyway.
How would I view the changes made immediately? I'll even go incognito and use different browswers and won't see them!
danstelterMemberThat's helpful, but I'm still kinda confused. I don't understand the class of the black bar at the top. And I don't understand the name of what I think is the H1.
February 24, 2017 at 4:29 pm in reply to: How add "Read More" button to blog posts excerpts page? #201925danstelterMemberWorked perfectly! Thanks.
February 14, 2017 at 2:43 pm in reply to: Where to add code for feature box opt-in before posts #201179danstelterMemberGot it. Perfect. Thank you. This is critical to my site's success!
February 13, 2017 at 5:20 pm in reply to: Where to add code for feature box opt-in before posts #201091danstelterMemberThat worked! But it added the feature box to single pages as well as single posts.
Any way to stop that from happening?
February 13, 2017 at 1:20 pm in reply to: Where to add code for feature box opt-in before posts #201063danstelterMemberHmm. Okay. So this is what I have:
add_action( 'genesis_entry_header', 'after_header_feature_box', 5 );
function after_header_feature_box() {
if ( ! is_singular())
return;mab_get_actionbox( 538 );
}
Made a few mistakes at first, and it broke my theme. Got that fixed. Theme works with it in functions.php. But still can't get the darn thing to actually show up.
What am I missing?
February 7, 2017 at 5:12 pm in reply to: Modify Parallax Pro buttons + a couple other things #200731danstelterMemberFound that code. Tried playing around with putting in the border-radius, but couldn't figure out where. Here's the code:
legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
danstelterMemberThanks Victor. That ended up helping me do what I wanted. Ended up doing a table with custom css.
danstelterMemberHmm....
Just tried commenting out all 3, and no luck. For what it's worth, I am the developer. And I never changed any code to cause this. So, not sure what's going on.
I want the right sidebar. When I use the Genesis customize option to put the right sidebar in place, it works.
Any thoughts on what to try next?
January 30, 2017 at 5:29 pm in reply to: Modify Parallax Pro buttons + a couple other things #200284danstelterMemberThanks Erika. Those worked perfectly - and easily.
When you go to: anxietysupportnetwork.org...
Hover over the button. I don't want that green color when you hover over it. I'd like to change to a darker shade of blue like 3d9ad0
Where would I find that?
Thanks for all your excellent help,
Dan
September 29, 2016 at 12:03 pm in reply to: Need your opinion on how/where to add credibility elements #193899danstelterMemberAppreciate it a ton, Brad. That's exactly what I want to do. Copied + pasted into functions.php, but can't get it to work. Have the Static Front Page set. Also, changed the sidebar within that so it should be showing one.
What am I missing?
Current functions.php code:
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );//* Setup Theme
include_once( get_stylesheet_directory() . '/lib/theme-defaults.php' );//* Set Localization (do not remove)
load_child_theme_textdomain( 'parallax', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'parallax' ) );//* Add Image upload to WordPress Theme Customizer
add_action( 'customize_register', 'parallax_customizer' );
function parallax_customizer(){require_once( get_stylesheet_directory() . '/lib/customize.php' );
}
//* Include Section Image CSS
include_once( get_stylesheet_directory() . '/lib/output.php' );//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', 'Parallax Pro Theme' );
define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/parallax/' );
define( 'CHILD_THEME_VERSION', '1.1' );//* Enqueue scripts and styles
add_action( 'wp_enqueue_scripts', 'parallax_enqueue_scripts_styles' );
function parallax_enqueue_scripts_styles() {wp_enqueue_script( 'parallax-responsive-menu', get_bloginfo( 'stylesheet_directory' ) . '/js/responsive-menu.js', array( 'jquery' ), '1.0.0' );
wp_enqueue_style( 'dashicons' );
wp_enqueue_style( 'parallax-google-fonts', '//fonts.googleapis.com/css?family=Montserrat|Sorts+Mill+Goudy', array(), CHILD_THEME_VERSION );}
//* Add HTML5 markup structure
add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );//* Add viewport meta tag for mobile browsers
add_theme_support( 'genesis-responsive-viewport' );//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 1 );//* Reposition the primary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_nav' );//* Reposition the secondary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_footer', 'genesis_do_subnav', 7 );//* Reduce the secondary navigation menu to one level depth
add_filter( 'wp_nav_menu_args', 'parallax_secondary_menu_args' );
function parallax_secondary_menu_args( $args ){if( 'secondary' != $args['theme_location'] )
return $args;$args['depth'] = 1;
return $args;}
//* Unregister layout settings
genesis_unregister_layout( 'content-sidebar-sidebar' );
genesis_unregister_layout( 'sidebar-content-sidebar' );
genesis_unregister_layout( 'sidebar-sidebar-content' );//* Add support for additional color styles
add_theme_support( 'genesis-style-selector', array(
'parallax-pro-blue' => __( 'Parallax Pro Blue', 'parallax' ),
'parallax-pro-green' => __( 'Parallax Pro Green', 'parallax' ),
'parallax-pro-orange' => __( 'Parallax Pro Orange', 'parallax' ),
'parallax-pro-pink' => __( 'Parallax Pro Pink', 'parallax' ),
) );//* Unregister secondary sidebar
unregister_sidebar( 'sidebar-alt' );//* Add support for custom header
add_theme_support( 'custom-header', array(
'width' => 360,
'height' => 70,
'header-selector' => '.site-title a',
'header-text' => false,
) );//* Add support for structural wraps
add_theme_support( 'genesis-structural-wraps', array(
'header',
'nav',
'subnav',
'footer-widgets',
'footer',
) );//* Hook after post widget after the entry content
add_action( 'genesis_after_entry', 'parallax_after_entry', 5 );
function parallax_after_entry() {if ( is_singular( 'post' ) )
genesis_widget_area( 'after-entry', array(
'before' => '<div class="after-entry widget-area">',
'after' => '</div>',
) );}
//* Modify the size of the Gravatar in the author box
add_filter( 'genesis_author_box_gravatar_size', 'parallax_author_box_gravatar' );
function parallax_author_box_gravatar( $size ) {return 176;
}
//* Modify the size of the Gravatar in the entry comments
add_filter( 'genesis_comment_list_args', 'parallax_comments_gravatar' );
function parallax_comments_gravatar( $args ) {$args['avatar_size'] = 120;
return $args;
}
//* Register widget areas
genesis_register_sidebar( array(
'id' => 'home-section-1',
'name' => __( 'Home Section 1', 'parallax' ),
'description' => __( 'This is the home section 1 section.', 'parallax' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-2',
'name' => __( 'Home Section 2', 'parallax' ),
'description' => __( 'This is the home section 2 section.', 'parallax' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-3',
'name' => __( 'Home Section 3', 'parallax' ),
'description' => __( 'This is the home section 3 section.', 'parallax' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-4',
'name' => __( 'Home Section 4', 'parallax' ),
'description' => __( 'This is the home section 4 section.', 'parallax' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-5',
'name' => __( 'Home Section 5', 'parallax' ),
'description' => __( 'This is the home section 5 section.', 'parallax' ),
) );
genesis_register_sidebar( array(
'id' => 'after-entry',
'name' => __( 'After Entry', 'parallax' ),
'description' => __( 'This is the after entry widget area.', 'parallax' ),
) );//* Dan's Own Customization so Easy Contact Forms Works on Website front Page
add_filter('widget_text', 'do_shortcode');
//* Dan's Own Customization that displays a right sidebar on the front page of the website
genesis_register_sidebar( array(
'id' => 'new-widget',
'name' => __( 'New Widget', 'domain' ),
'description' => __( 'Add Content Here', 'domain' ),
) );add_action( 'genesis_sidebar', 'your_widget' );
function your_widget() {
if ( is_front_page() && is_active_sidebar('new-widget') ) {
genesis_widget_area( 'new-widget', array(
'before' => '<div class="new-widget widget-area">',
'after' => '</div>',
) );}
}
September 28, 2016 at 1:34 pm in reply to: Need your opinion on how/where to add credibility elements #193844danstelterMemberAfter some research and tinkering, I'd like to add a custom sidebar into the home page on the right to get those logos above the fold. How would I do that?
Thanks,
Dan
September 27, 2016 at 1:41 pm in reply to: Need your opinion on how/where to add credibility elements #193775danstelterMemberAppreciate it, Brad. But, I don't want to hide the logos at the bottom of the page. I want them above the fold somewhere, such as this:
For my business especially, it's a huge credibility booster..
danstelterMemberWorked perfectly. Thanks!
danstelterMemberThanks, that helped. But there's still some real estate left over on the left and right margins. Is there a way to increase the margins even further so I can get CTAs to move up above the fold?
April 19, 2016 at 6:26 am in reply to: Good guide for moving all content to new domain and keeping SEO intact? #183906danstelterMemberHaha...yeah!
April 18, 2016 at 9:35 am in reply to: Good guide for moving all content to new domain and keeping SEO intact? #183837danstelterMemberPerfect thank you! Neil Patel is great. And it's a great guide.
danstelterMemberThank you for putting up with me. It now works.
danstelterMemberCopying and pasting that into functions.php for Genesis causes a 500 error. Is there another way to do this? Funny enough, it actually worked for more than a week or so within the widget. FYI I am not a coder. Do I need to create a child theme to make this work?
danstelterMemberPages only.
-
AuthorPosts