Forum Replies Created
-
AuthorPosts
-
Jen Baumann
ParticipantSee this: http://www.studiopress.community/topic/change-home-page-grid-layout-quattro-theme/#post-12114
Note the code didn't post well so there's a note below the code block. Change the 2 to whatever number you need.
Jen Baumann
ParticipantLooks like you have a static page set as the homepage. This overrides the theme home.php so the widgets won't display. Under Settings > Reading, set it to display Your latest posts.
Jen Baumann
ParticipantIf you rename your folder without the uppercase letter, your site should work fine again.
Jen Baumann
ParticipantPlease add this to your functions.php file
add_action( 'pre_get_posts', 'child_change_home_query' ); function child_change_home_query( $query ) { if( $query->is_main_query() && $query->is_home() ) { $query->set( 'posts_per_page', '2' ); } }
That should be && $query. The code isn't posting right.
Jen Baumann
ParticipantRough but:
If you want an Icon, add it to the background and change the left padding..sidebar h4, .sidebar h4 a, .sidebar h4 a:hover, .sidebar h4 a:visited { background: #AB0606; color: #FFFFFF; font-size: 19px; padding: 16px; text-decoration: none; text-transform: uppercase; }
Jen Baumann
ParticipantYou're welcome. Yep, it's basically just that viewport metatag.
Jen Baumann
ParticipantThe base Genesis Theme with no child theme uses the css for mobile responsive but does not add the meta viewport tag to avoid interference with child themes. The recommended method of using Genesis as a base is to download the sample child theme, which does include that viewport tag. This also allows you to customize it without it being overwritten on upgrade 🙂
Jen Baumann
ParticipantExcellent! You're very welcome!
I'm glad I could help!
Jen Baumann
ParticipantAh, you know, I came back and re-read the problem. You're actual issue is position:relative; on the .entry-content css.
Jen Baumann
ParticipantYou're welcome 🙂
Jen Baumann
ParticipantTry
if ( is_active_sidebar('after-page') && ( is_page() || is_archive() ) )
Jen Baumann
ParticipantEddie is correct, you can upload under Appearance > Header and you can put it on a transparent or filled background of 960x115.
Anthony, as far as embeds, those are handled by WordPress, not Genesis.
If you want to disable the custom header function, remove this line from functions.php:
/** Add support for custom header */ add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 115 ) );
This will restore an option under Genesis > Theme Settings for Dynamic Text or Image Logo. But, you have to add some css to make that happen. So in your style.css file, you'll need to add (at minimum) the following:
.header-image #title-area { background: url(images/logo.png) no-repeat center top; background-size: contain; }
Then around line 1654, change the css to include .header-image #title-area here:
body, .archive-page, .content-sidebar #content, .content-sidebar-sidebar #content, .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .full-width-content #content, .header-image #title-area, .home-left, .home-middle, .home-right, .sidebar, .sidebar-content #content, .sidebar-content-sidebar #content, .sidebar-sidebar-content #content, #content-sidebar-wrap, #footer .creds, #footer .gototop, #footer-widgets .wrap, #header .widget-area, #sidebar-alt, #title-area, #wrap { width: 100%; }
Jen Baumann
ParticipantYou're very welcome!
Jen Baumann
ParticipantMake sure you clear your total cache. I do see a change. If you want to make it more drastic, increase 10px to something higher. 20px maybe?
Jen Baumann
ParticipantI would just add it at the bottom to make life easy 🙂
Jen Baumann
ParticipantYou can add this to style.css
.slideshow_container { margin-bottom: 10px; }
Jen Baumann
ParticipantJust replace the do_shortcode with your do_action code. It doesn't appear from that you need to echo it.
do_action('slideshow_deploy', '246');
Jen Baumann
ParticipantI'm glad you resolved it!
Jen Baumann
ParticipantTry this. Looks like you had an extra '
echo do_shortcode( '[slideshow_deploy id=246]' );
Jen Baumann
ParticipantIf you edit your home.php file, which is located in the lifestyle child theme folder, the slideshow will display on the homepage only.
Since you have a shortcode and you haven't provided the code you need to add, I'd recommend trying this (Codex):
echo do_shortcode( '[whatever_shortcode]' );
You'll see the function in the home.php file similar to this:
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 -->'; } } else { echo do_shortcode( '[whatever_shortcode]' ); genesis_standard_loop(); } }
If you have questions in the future, it's always easier for the community to help if you provide a url.
-
AuthorPosts