Forum Replies Created
-
AuthorPosts
-
Steve@316 DesignMember
Thank you Anita, I did that and I now have the widget areas. I wasn't sure about the styling, so I copied the styling for the other home widget, changed to match these widget etc. Take a look. How do I get the widgets to display in a row and without the sidebar?
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberWith a little bit of tweaking that worked perfectly. Thank you!
Here's what I used
.site-header .widget-area {
width: 480px;
}.header-widget-area .widget_search {
float: right;
margin-top: 9px;
}.header-widget-area .social-profiles {
float: right;
margin-top: 15px;
}
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberThat worked! Thank you.
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberHow are you seeing that? where is line 218?
Odd, same theme here, http://mattharveyfishing.com/2014-schedule-results/
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberSorry it's taken me so long to get back to this,.. Must've forgotten about it until I went to the clients page to update something else,..
Anyways, is this what you needed? home.php
<?php
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'lifestyle_home_loop_helper' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function lifestyle_home_loop_helper() {if ( is_active_sidebar( 'home' ) || is_active_sidebar( 'home-left' ) || is_active_sidebar( 'home-right' ) ) {
dynamic_sidebar( 'home' );
if ( is_active_sidebar( 'home-left' ) ) {
echo '<div id="homepage-left">';
dynamic_sidebar( 'home-left' );
echo '</div><!-- end #homepage-left -->';
}if ( is_active_sidebar( 'home-right' ) ) {
echo '<div id="homepage-right">';
dynamic_sidebar( 'home-right' );
echo '</div><!-- end #homepage-right -->';
}if ( is_active_sidebar( 'home-bottom' ) ) {
echo '<div id="homepage-bottom">';
dynamic_sidebar( 'home-bottom' );
echo '</div><!-- end #homepage-bottom -->';
}}
else {
genesis_standard_loop();
}}
genesis();
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberMaybe I should have added this: I use this theme in a WPMS install on many sites of the WPMS install. I dont want to have to "add it manually" to the style sheet each time. That would also mean having to use a different copy of the theme for each website.
Did you happen to look at the difference in the two sites and how the header images is scaling for smaller devices?
When using the Modern Portfolio theme – http://www.316design.com/ I just add a custom header the same way we have for several theme versions but for some reason (I don't know why) the way the header is scaling on the Lifestyle Pro theme is sort of odd. When viewed on smaller devices it has a large amount of space around the header.
See attached. It appears the header is actually NOT scaling at all on the Modern Portfolio theme which is fine & what I'd like for the Lifestyle Pro theme.
Also, I've been part of the Forums since the Revolution days and certainly understand & respect the volunteer help in the forums.
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberThank you, but it's not something I want to do manually every-time I use this theme, which is a lot.
I'd like it to work like the Modern Portfolio theme – http://www.316design.com/
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberWorked perfectly! Thank you.
BTW - Brian's directions were specific, clear and complete.
I don't know if it matter I did however replace the words in his code "eleven40" with "balance"Thank You, Steve
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberAnita, that worked!!!! Thank you so much.
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberThank you for chiming in Anita, This theme is being used for several other websites on a WPMS install. How will this effect the other sites?
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMembercopied your code, pasted 1st button "CTT Membership" - http://californiatournamenttrail.com/entry-membership/
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberI've tried putting that code in several different ways and different places, nothing seemed to work.
Do I copy ALL that you have in bold? Or just whats in quotes,.. Then where exactly in the code below do I put it.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"><input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="7HRYWZGJR46MA" />
<input type="image" alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" />
</form>
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberOk thx Rob, Can you please tell me exactly what code I put where? and I'll give it a try.
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™November 14, 2013 at 10:38 am in reply to: Full page width Genesis – Responsive Slider in Lifestyle Pro #72957Steve@316 DesignMember@Brad, That was it!!!! Funny how such a little simple thing could cause problems...
Once again, thank you so much for the great support from the Studiopress community.
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™November 13, 2013 at 10:00 pm in reply to: Full page width Genesis – Responsive Slider in Lifestyle Pro #72876Steve@316 DesignMemberYes, images are big enough. The widget area doesn't even seem to be displaying. ?? http://californiatournamenttrail.com/
Here is the functions code:
<?php
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );//* Set Localization (do not remove)
load_child_theme_textdomain( 'lifestyle', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'lifestyle' ) );//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', __( 'Lifestyle Pro Theme', 'lifestyle' ) );
define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/lifestyle/' );
define( 'CHILD_THEME_VERSION', '3.0.0' );//* Add HTML5 markup structure
add_theme_support( 'html5' );//* Add viewport meta tag for mobile browsers
add_theme_support( 'genesis-responsive-viewport' );//* Enqueue Droid Sans and Roboto Slab Google fonts
add_action( 'wp_enqueue_scripts', 'lifestyle_google_fonts' );
function lifestyle_google_fonts() {wp_enqueue_style( 'google-fonts', '//fonts.googleapis.com/css?family=Droid+Sans:400,700|Roboto+Slab:400,300,700', array(), CHILD_THEME_VERSION );
}
//* Add new image sizes
add_image_size( 'home-large', 634, 360, TRUE );
add_image_size( 'home-small', 266, 160, TRUE );//* Add support for custom background
add_theme_support( 'custom-background', array(
'default-image' => get_stylesheet_directory_uri() . '/images/bg.png',
'default-color' => 'efefe9',
) );//* Add support for custom header
add_theme_support( 'custom-header', array(
'header_image' => '',
'header-selector' => '.site-title a',
'header-text' => false,
'height' => 118,
'width' => 1140,
) );//* Add support for additional color style options
add_theme_support( 'genesis-style-selector', array(
'lifestyle-pro-blue' => __( 'Lifestyle Pro Blue', 'lifestyle' ),
'lifestyle-pro-green' => __( 'Lifestyle Pro Green', 'lifestyle' ),
'lifestyle-pro-mustard' => __( 'Lifestyle Pro Mustard', 'lifestyle' ),
'lifestyle-pro-purple' => __( 'Lifestyle Pro Purple', 'lifestyle' ),
'lifestyle-pro-red' => __( 'Lifestyle Pro Red', 'lifestyle' ),
) );//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );//* Reposition the primary navigation
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );//* Modify the size of the Gravatar in the author box
add_filter( 'genesis_author_box_gravatar_size', 'lifestyle_author_box_gravatar' );
function lifestyle_author_box_gravatar( $size ) {return 96;
}
//* Modify the size of the Gravatar in the entry comments
add_filter( 'genesis_comment_list_args', 'lifestyle_comments_gravatar' );
function lifestyle_comments_gravatar( $args ) {$args['avatar_size'] = 60;
return $args;}
//* Register widget areas
genesis_register_sidebar( array(
'id' => 'full-width',
'name' => __( 'Full Width Widget', 'lifestyle' ),
'description' => __( 'Display Content Full Width After Header', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-top',
'name' => __( 'Home - Top', 'lifestyle' ),
'description' => __( 'This is the top section of the homepage.', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-middle',
'name' => __( 'Home - Middle', 'lifestyle' ),
'description' => __( 'This is the middle section of the homepage.', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom-left',
'name' => __( 'Home - Bottom Left', 'lifestyle' ),
'description' => __( 'This is the bottom left section of the homepage.', 'lifestyle' ),
) );
genesis_register_sidebar( array(
'id' => 'home-bottom-right',
'name' => __( 'Home - Bottom Right', 'lifestyle' ),
'description' => __( 'This is the bottom right section of the homepage.', 'lifestyle' ),
) );add_action( 'genesis_after_header', 'wpsites_full_content_width_widget' );
function wpsites_full_content_width_widget() {
if ( is_front_page() && is_active_sidebar('full-width') ) {
genesis_widget_area( 'full-wdth', array(
'before' => '<div class="full-width" class="widget-area">',
'after' => '</div>',
) );}
}
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™Steve@316 DesignMemberThanks Rob, I tried that,.. maybe I was putting the code in the wrong spot,.. Couldn't get it to work. Then I noticed that was a three year old post. Should that matter?
Now the client has given me even more buttons. Sure would like to find a solution.http://californiatournamenttrail.com/entry-membership/
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™November 6, 2013 at 6:43 pm in reply to: Full page width Genesis – Responsive Slider in Lifestyle Pro #71348Steve@316 DesignMemberOk, thanks Brad.
So, what else can I do to get the Genesis Slider to work? http://californiatournamenttrail.com/Thank You,
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™November 6, 2013 at 3:55 pm in reply to: Modern Portfolio Theme – Custom Header image spacing #71321Steve@316 DesignMemberThat worked. I went ahead and set min-height to the size of the header image.
Thank You.
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™November 6, 2013 at 3:46 pm in reply to: Full page width Genesis – Responsive Slider in Lifestyle Pro #71319Steve@316 DesignMemberA quick glance at the "lite/free" version of soliloquy, I didn't see a way to automatically pull the image to be displayed. For myself and my clients, things have to be very easy for them. With the Genesis slider, all the have to to do select a featured image and its done. Even the DCG could be used full width without too much difficulty. http://zakelritefishing.com/
It seems now with all the latest updates, even just slightly customizing the themes (full width slider) is getting more complicated, less user friendly for non-coders like myself. Maybe not, just better coding,.. I don't have any idea what structural wraps are,.. Honestly wouldn't mind learning a better way to do something (soliloquy),.. Just wasn't planing on learning all of the coding part.
@coralseait Are you available to help with this?Thx, Steve
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™November 6, 2013 at 2:39 pm in reply to: Full page width Genesis – Responsive Slider in Lifestyle Pro #71308Steve@316 DesignMemberBecause the site is under dev, I had a coming soon plugin activated. I deactivated so you could take a look.
http://californiatournamenttrail.com/
Steve Adams | 316 Design | 619.726.9923
We live the lifestyles that we promote.™ -
AuthorPosts