Community Forums › Forums › Archived Forums › Design Tips and Tricks › Need help with Mag Pro "after entry" and "right header" widgets
- This topic has 3 replies, 2 voices, and was last updated 11 years, 4 months ago by
worldviewpr.
-
AuthorPosts
-
December 6, 2013 at 1:07 pm #77412
worldviewpr
MemberGreetings..
I need help understanding some elements pertaining to Mag Pro "after entry" and "right header" widgets.
What are the standard or recommended sizes for each? Would after entry be max 750px width or whatever the max width of the content area is? Can it be made to appear before title? Or does it only appear after the post but before (or after) the comment section?
Question about Right Header widget is more about size. I notice that since I have a longer site name on the left hand part of header in title area, when I put anything into the right header it turns title from a one liner into two or three lines.
http://halfwaytoconcord.comDecember 7, 2013 at 9:10 am #77534Sridhar Katakam
ParticipantWould after entry be max 750px width or whatever the max width of the content area is?
Whatever is the max width of content area.
Can it be made to appear before title? Or does it only appear after the post but before (or after) the comment section?
You can register a new "Before Entry" widget area and use it.
Add this in functions.php:
genesis_register_sidebar( array( 'id' => 'before-entry', 'name' => __( 'Before Entry', 'magazine' ), 'description' => __( 'This is the before entry section.', 'magazine' ), ) ); //* Hooks before-entry widget area to single posts add_action( 'genesis_before_entry', 'magazine_before_entry_widget' ); function magazine_before_entry_widget() { if ( ! is_singular( 'post' ) ) return; genesis_widget_area( 'before-entry', array( 'before' => '<div class="before-entry widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); }
and this in style.css:
.before-entry { border-bottom: 2px solid #222222; padding-bottom: 3rem; margin-bottom: 4rem; }
Question about Right Header widget is more about size. I notice that since I have a longer site name on the left hand part of header in title area, when I put anything into the right header it turns title from a one liner into two or three lines.
Add the following in child theme's style.css:
.title-area { padding-top: 0; } .site-title { font-size: 3.2rem; }
to get http://i.imgur.com/Wxvcekk.png
December 7, 2013 at 2:57 pm #77575worldviewpr
MemberThe Before-Entry php and css appears to work, but on testing, it looks like actual usage is—one or the other, not both—as identical text widgets in both would only show the Before Entry image and not the same image in the After Entry area. Not a nig deal, but Is this by design?
For the Header css I am confused about where to put that snippet.
In the section on TITLE AREA?
If so, there is already a couple lines at the bottom of that section
.title-area { padding-top: 0; }
Would I then just add the second phrase of the snippet
.site-title { font-size: 3.2rem; }
Below the above or duplicate?
thanks.
December 7, 2013 at 4:46 pm #77579worldviewpr
MemberActually, now that I double checked, the before entry widget works buyt the after entry widget does not.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.