Forum Replies Created
-
AuthorPosts
-
marybaumParticipant
That gets specified in sidebar.php in the Genesis parent theme, in genesis/lib/structure/sidebar.php - but you would never want to edit that file directly.
Instead, make a copy of that file and put it in your Agency theme folder, in a similar directory structure - Agency/lib/structure/sidebar.php and change the tags there.
Note that you'll also want to change your stylesheet, because there is a specific class - .widgettitle h4 - that you'll want to change to .widgettitle h3.
Now, if I just want to call out the headline of one text widget, I have been known to cheat: in the Widgets area of the dashboard, I'll put h3 tags around the title. I can't swear that's bulletproof, though.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantI had a similar problem - featured posts wouldn't float. It turned out I had forgotten to rename the divs inside the functions in home.php.
You also need to rename the divs in the stylesheet.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantWhat about taking the portfolio page (page_portfolio.php), functions and css from the Balance theme (or various others) and adding them in? That would get you a Stories page (actually, page_stories.php). Does the Stories page also need to have a relationship to a portfolio section on the home page? I suppose you could set up a separate Stories category for that, with the same posts, then link to the Stories page - born of page_stories.php - in the dropdown.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
March 25, 2013 at 7:29 pm in reply to: Testing if the site looks good on larger resolution than 1920px width? #31225marybaumParticipantK. Looking at it on my 2560 x 1440 display, the images look lovely - and they don't stretch across the entire screen. Should they?
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantI agree that updating to Woocommerce 2.0 is a lot of work. But going back to 1.6.6, as you've now found, is no answer either. The first site I upgraded took at least a day - especially since I'm picky about things like what the dialogue boxes say. (I like them to sound like people, not corporatese.)
You seem to have your pages set to full-width content at 890px, and your product pages are enabling sidebars. If you want the sidebars visible, set the pages to something other than full-width content, and give your wrap more pixels in width than the width of your content plus the width of your sidebar - about 1100 pixels should do it.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
March 24, 2013 at 6:42 pm in reply to: Secondary navigation on Focus theme is overlapping header #31006marybaumParticipantAdd margin to the top. If you post your URL again, I can tell you where in your stylesheet to add the margin.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantIf I understand you right, you'd like an image to show with the post but not on the category page?
Then I don't think I'd bother with the setting a featured image. Just insert the image into the post. Then your category pages won't have a featured image to decide to show or not.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
March 24, 2013 at 5:51 pm in reply to: Modern Portfolio Theme: How To Create Multiple Portfolios? #30995marybaumParticipantBased on what I did to get my tennis club's site (http://frontenactennis.com) from two to three widgeted areas, I'll guess that you'll need to mess with three files: home.php, functions.php and then the stylesheet.
Let's call your three writers Anne, Bill and Pat.
Change home.php like this:
function mp_home_genesis_meta() {if ( is_active_sidebar( 'about' ) || is_active_sidebar( 'Anne' ) || is_active_sidebar( 'Anne_bio' ) || is_active_sidebar( 'Bill' ) || is_active_sidebar( 'Bill_bio' ) || is_active_sidebar( 'Pat' ) || is_active_sidebar( 'Pat_bio' ) || is_active_sidebar( 'news' ) ) {
// Force content-sidebar layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );// Add mp-home body class
add_filter( 'body_class', 'mp_body_class' );
function mp_body_class( $classes ) {
$classes[] = 'mp-home';
return $classes;
}// Remove the navigation menus
remove_action( 'genesis_after_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );// Remove the default Genesis loop
remove_action( 'genesis_loop', 'genesis_do_loop' );// Add homepage widgets
add_action( 'genesis_loop', 'mp_homepage_widgets' );}
}
function mp_homepage_widgets() {
genesis_widget_area( 'about', array(
'before' => '<div id="about"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'Anne', array(
'before' => '<div id="Anne"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'Anne_bio', array(
'before' => '<div id="Anne_bio"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'Bill', array(
'before' => '<div id="Bill"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'Bill_bio', array(
'before' => '<div id="Bill_bio"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'Pat', array(
'before' => '<div id="Pat"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'Pat_bio', array(
'before' => '<div id="Pat_bio"><div class="wrap">',
'after' => '</div></div>',
) );genesis_widget_area( 'blog', array(
'before' => '<div id="blog"><div class="wrap">',
'after' => '</div></div>',
) );
 }
I know the renaming of the widgeted areas works, because I did it for http://stltennishall.org.
I also assumed here you'd want to keep a dark area with type reversed out in between each portfolio area. The original theme makes these black; I changed them to blue on the hall-of-fame site. In this case, I thought you could use them as short bios for Anne, Bill and Pat. Hence the div ids that end in _bio. But you could name them anything and use them for anything.
Now, in functions.php, register each of those sidebar widget areas:
genesis_register_sidebar( array(
'id' => 'Anne',
'name' => __( 'Anne', 'mp' ),
'description' => __( 'This is the inductees section.', 'mp' ),
genesis_register_sidebar( array(
'id' => 'Anne_bio',
'name' => __( 'Anne'_bio, 'mp' ),
'description' => __( 'This is the inductees section.', 'mp' ),
And so on, for the four new areas. Remember that you're changing 'portfolio' to 'Anne', so if you paste in Anne, you'll want to nuke 'portfolio'.
Now you have two divs to rename in the stylesheet and four new divs to add - but the styling is all copy-and-paste.
When I first did this, I renamed the functions in home.php but forgot to rename the divs - then wondered why my featured posts weren't floating into their nice grid. After more coffee I realized the problem!
So if something doesn't work, I do recommend more coffee. If it still isn't working, look through the code again and if necessary, apply chocolate. You'll find the unclosed brace or the un-renamed div before you know it!
MB
PS> I trust this will work - I have only tried pieces of it in two separate projects. So more expert phpers are welcome to find my mistakes and make improvements.
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantAlso, to save you searching as I did the other day, on Chrome Mac there's a bug in the nav menu that makes the first item rise up above the baseline. The fix is to change out the margin-top for padding-top in the #header .genesis-nav-menu rule.
This is NOT original with me. I found it by searching on the modern-portfolio tag in this very forum.
Here's where I found the fix:Â http://www.studiopress.community/topic/modern-portfolio-menu-link-position/
Hope it helps.
MB
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantAnd it worked like a charm.
Stupid Chrome bugs . . .
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantYay!
I was hoping that if I read long enough, there would be an answer for this. I am also glad to find that:
I'm not crazy and
It's not just the copies of Chrome on my Google user account(s) or in my house.
Thanks soooo much .....
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantWow! LOVE! the backstretch image (I just learned that term from Carrie. Would have had no idea what that's called, other than, um, some kinda parallax ... ) and sticky menu. Would love to know how to do that!
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantYup. You've got to change the names in home.php too - and in my first go at it, I forgot to change the div names as well as the widget names - then wondered why the featured posts wouldn't float. D'oh!
Here's what I did for http://stltennishall.org/ - only, in Mac Chrome, does the navigation at the top of the page look weird to you? I.e., is the About link a good 2-3 ems (a half-inch, 36 points, who-knows how many pixels on your monitor) above the other links? It looks fine in Firefox and Safari, and in portrait mode on my iPad. I haven't yet checked the kitchen computer, but that's still on this network.
Thanks - and I hope the home.php thing gets you where you want to be . . .
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantMichelle,
I of course don't know what the plans are for updating the last few themes that haven't gotten responsive updates. But I'm planning a mobile-first upgrade for a site based on Magazine 1.0 and debating direction. Do I port her CSS to Magazine 2.0, which is responsive? Will that save me much time in the end, considering how little her site looks like Magazine 1.0?
But the one step I have taken is to grab a clean copy of the files at  http://320andup.com and style those to match her branding. Next, I suppose, will be to design a phone-sized home page that is mostly top-level navigation - unless I start to see a bunch of jokes about When Old People Design Mobile-First kinda like this - http://tennis-bookers.com - with latest posts below the fold. My reasoning: It's a phone - we scroll. Yes? No?
Anyway - my two cents (or less.)
Mary Baum
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantYour best bet is to install the Reveal IDs plug-in. Then, when you're setting up widgets that show posts, you can exclude the ID of the Slider category and include the IDs of the categories you want people to see the posts from.
Then, separately, you can include the Slider category in the slider settings - as you've done.
Have I understood your question properly?
Mary Baum
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantWithout having tried this myself on that particular theme - that's a confession - my guess would be that if you target the widget areas inside the home-featured-wherever areas, you can do some style overrides that will give you what you want.
That's what I had to do to get the menu areas on home-featured-right and home-featured-left looking decent at desktop size and at key breakpoints at http:frontenactennis.com, which is kinda-sorta the Minimum 2.0 theme - but with widgeted areas from Balance plus a middle area I sorta made up and stuck in.
If you look at style.css, you'll see I had to target some areas and add them to the style sheet to get them to do what I wanted.
Hope that helps!
MB
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantWhat happens if you make .genesis-nav-menu.menu-secondary less wide than 903px - the same width as the subnav, which IS centered - and put an !important on the margin: 0 auto;? You'll probably want to make a separate rule for that.
For example, what if .genesis-nav-menu.menu-secondary were 775px wide?
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantNever fear, Michael.
I think my original problem was a version of the same thing - one line had Pa after the semicolon that got there (I think) when I thought I was typing into a signup form or something on my other monitor.
I also had a situation yesterday where some content wouldn't go into a middle widget on a home page. Of course not - I had uploaded an old copy of the home.php file that didn't HAVE a middle widget, because I had written the middle widget into the server version instead of the local version without realizing it, then uploaded the local copy to overwrite it . . . D'oh!
Fortunately, a lot of what I call writing, in this case, was mostly copy-paste-change. So it wasn't a big deal to redo it on the local version and then upload.
Have a great weekend!
Mary
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipantSo this is the line that's stumping you, right?
remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );\
Try getting rid of the backslash at the end of the line, after the semicolon.
That just might be your whole problem . . .
Gnight ...
MB
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
marybaumParticipant(double submit removed.) I hit Submit and get a 404, then hit it again and don't realize the system's accepted my Submit!
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
-
AuthorPosts