Forum Replies Created
-
AuthorPosts
-
March 16, 2015 at 2:26 pm in reply to: ul centering in featured post widget on homepage, Lifestyle-Pro #144666
lwlindquist
MemberNailed it.
I had tried to use text-align: left; but hadn't thought to use justify.
Thanks so much.
lwlindquist
MemberFantastic. Thanks so much, Marcy.
lwlindquist
MemberRight, but the widget doesn't show up in the widget area. That's the issue I'm having from the get go.
That's why I'm saying it's so strange, because it should be included, and the support for it is showing in functions.php already. Just can't figure why I can't get at it.
lwlindquist
MemberBrad, I added the code to the functions.php, and it's still not showing. So strange, because this theme is supposed to be equipped with the after-post widget out of the box.
Working on it here: http://173.254.97.228/~tomasbyr/
Ideas?
lwlindquist
MemberYeah, mine is just about a hair past that. 🙂
Thanks much for your help on this. Hired a guy to work it out for me. 🙂
lwlindquist
MemberHmm. That didn't do it either...
lwlindquist
MemberYeah, I had hoped that too. 🙂 Had tried it before consulting the forum and it didn't work. Not sure if there is something that needs to be modified for the specific theme (vs the 'dream' identifiers she's used, for instance).
lwlindquist
MemberOh, hooray. Nailed it. Thanks so much. 🙂
lwlindquist
MemberPerfect.
Thanks so much. 🙂
lwlindquist
MemberNow, why have I never thought of that? 🙂
Alright. That works, and now I just need to fiddle with the css to work the rest of it out.
Thanks so much for your help and patience.
lwlindquist
MemberIt was there last night, but not acting up until today. 🙂
I changed the grid back to 1140px and got the sidebar to reappear. so we know where that problem was coming from. Score. 🙂
Unfortunately, now I'm back to a wider grid than I prefer and I can't for the life of me persuade the slider to center on the page. Thoughts?
lwlindquist
MemberHere you go -- I deleted the home-sidebar (thought I'd caught all the references, but missed that one, so thank you) but still sitting at the bottom:
Thanks 🙂
<?php
/**
* This file adds the Home Page to the Executive Pro Theme.
*
* @author StudioPress
* @package Generate
* @subpackage Customizations
*/add_action( 'genesis_meta', 'executive_home_genesis_meta' );
/**
* Add widget support for homepage. If no widgets active, display the default loop.
*
*/
function executive_home_genesis_meta() {if ( is_active_sidebar( 'home-slider' ) || is_active_sidebar( 'home-top' ) || is_active_sidebar( 'home-cta' ) || is_active_sidebar( 'home-middle' ) ) {
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'executive_home_sections' );
add_filter( 'body_class', 'executive_add_home_body_class' );}
}
function executive_home_sections() {
genesis_widget_area( 'home-top', array(
'before' => '<div class="home-top widget-area">',
'after' => '</div>',
) );genesis_widget_area( 'home-cta', array(
'before' => '<div class="home-cta widget-area">',
'after' => '</div>',
) );genesis_widget_area( 'home-middle', array(
'before' => '<div class="home-middle widget-area">',
'after' => '</div>',
) );}
// Move the home slider area outside the sidebar-content wrap
add_action( 'genesis_before_content_sidebar_wrap', 'nabm_move_home_slider' );
function nabm_move_home_slider() {
if ( is_active_sidebar( 'home-slider' ) )
genesis_widget_area( 'home-slider', array(
'before' => '<div class="home-slider widget-area">',
'after' => '</div>',
) );
}//* Add body class to home page
function executive_add_home_body_class( $classes ) {$classes[] = 'executive-pro-home';
return $classes;}
genesis();
lwlindquist
MemberTerrific, thanks for your help with that.
I've deleted/added the code you suggest, which now gets me the default sidebar widget displaying on the homepage (which ultimately was the goal) but it's still not displaying aligned with the Home Top, rather not until the Home Top is done.
Suggestions on how to bring it up to sit just under the slider like the Home Top widget area?
Thanks!
November 16, 2013 at 12:12 pm in reply to: Header Right Widget overlaps logo image in Metro Pro #73437lwlindquist
MemberIn functions.php I modified the width and height in this section (don't recall the original, I changed to 360 and 107):
//* Add support for custom header
add_theme_support( 'custom-header', array(
'width' => 360,
'height' => 107,
'header-selector' => '.site-title a',
'header-text' => falseIn style.css, I modified the width of the title area in this section.
/* Title Area
--------------------------------------------- */.title-area {
float: left;
padding: 0;
width: 500px;
}In this case, I made it 500px which is wider than the 360px image, though that may not have been needed once I fiddled with the responsive section. Would take some trial and error I suppose, but I got it to work and left it at that. 🙂
Hope that helps.
LW
lwlindquist
MemberWas having a similar problem and resolved it by adjusting the header right widget area width in the responsive section of the css.
This thread may be of help to you. http://www.studiopress.community/topic/header-right-widget-overlaps-logo-image-in-metro-pro/
October 29, 2013 at 7:36 pm in reply to: Header Right Widget overlaps logo image in Metro Pro #69814lwlindquist
MemberTried that -- hoping you'd be more persuasive with it, since it didn't believe me the first time. 🙂
Still didn't work. But I went south and fiddled with the widget area width and the title area width in the responsive section of the css. Decreasing the widget area width still didn't resolve it, but widening the title area to match the width of the header image did the trick.
Thanks for the suggestion -- got me thinking there had to be a missing piece somewhere. And thanks on the site. Happy with the way it turned out. 🙂
LW
lwlindquist
MemberPerfect. Thank you!
lwlindquist
MemberThanks Brad. Plug-in worked perfectly.
And you have a new email subscriber. 🙂
lwlindquist
MemberSame edit to the css on the #nav and #subnav .wrap fixed the other.
Thanks much for you help!
lwlindquist
MemberNo, wait. Tried again. That did fix the footer. My bad. Let me experiment with the nav formatting and see if I can work your magic there.
Thanks!
-
AuthorPosts