Community Forums › Forums › Archived Forums › Showcase and Feedback › First Website using Genesis (In progress)
Tagged: First site
- This topic has 10 replies, 2 voices, and was last updated 9 years, 4 months ago by Chrisrx.
-
AuthorPosts
-
December 12, 2014 at 10:48 am #134388ChrisrxMember
Hi Everyone
This is my first post and first website built using genesis and the lifestyle theme. This is still work in progress so any feedback would be greatly appreciated, below is my website.
Also i want to have the exact same template as the homepage on the dogs and cats and others page but without the side bar, so would want the header and footer to allow the look to be seamless. how would i achieve this?
Thanks in advance.
http://jennettespets.co.ukDecember 12, 2014 at 1:04 pm #134405Davinder Singh KainthMemberLooking good.
For Dogs page without sidebar: As of now, it seems you have selected landing page template on "dog" page. Switch to default template and select full width layout option (it is visible under post editor - when you open dog page in edit mode).
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesDecember 13, 2014 at 2:43 pm #134473ChrisrxMemberThat great Davinder, just what i needed, any more suggestions or feedback on the overall look of the site would be good. Also want to put a contact number and email at the top of the site above the header, how would i do this?
Thank you in advance.
December 14, 2014 at 8:37 am #134501Davinder Singh KainthMemberAs of now, there is not much changes with respect to original theme design. You can decide on specific color scheme (2 or 3 colors) and then customize each section accordingly. Also, you can add new features like different post layout, slider and so on.
To add contents above header area, you can create new widget area. Backup before making changes.
1. Add following code to functions.php file
//* before header section Widget genesis_register_sidebar( array( 'id' => 'before-header-section', 'name' => __( 'before header section', 'custom' ), 'description' => __( 'This is before header section section', 'custom' ), ) ); add_action( 'genesis_before_header', 'ig_before_header_section', 1 ); function ig_before_header_section() { echo '<div class="before-header-section">'; echo '<div class="wrap">'; dynamic_sidebar( 'before-header-section' ); echo '</div>'; echo '</div><!-- end .before-header-section -->'; }
2. Go to widgets section, you should see new widget "before header section". Add text widget with phone and email.
3. You can style this section by adding corresponding classe .before-header-section to style.css file.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesDecember 15, 2014 at 10:28 am #134585ChrisrxMemberHi Davinder
I added this to the end of my PHP
//* Remove the header right widget area
unregister_sidebar( 'header-right' );
//* Remove the header right widget area
unregister_sidebar( 'header-right' );
}
//* before header section Widget
genesis_register_sidebar( array(
'id' => 'before-header-section',
'name' => __( 'before header section', 'custom' ),
'description' => __( 'This is before header section section', 'custom' ),
) );add_action( 'genesis_before_header', 'ig_before_header_section', 1 );
function ig_before_header_section() {
echo '<div class="before-header-section">';
echo '<div class="wrap">';
dynamic_sidebar( 'before-header-section' );
echo '</div>';
echo '</div><!-- end .before-header-section -->';
}and now have a php error on the site, even when i delete this code, could there be a reason for this?
December 15, 2014 at 12:32 pm #134608Davinder Singh KainthMemberI see extra
}
under
unregister_sidebar( ‘header-right’ );
in the above code.
Also I tested my original code for adding widget before header in Lifestyle theme. It is working for me.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesDecember 18, 2014 at 3:09 pm #134846ChrisrxMemberThanks davinder, i have managed to fix this, when adding the widget and then add the text in the widget it creates a white space on the site, any reason why this would be
December 18, 2014 at 3:16 pm #134848ChrisrxMembersorry resolved this, when trying the add css styling it won't position to the right when adding float: left
December 19, 2014 at 5:00 am #134880ChrisrxMemberJust re-read my post, definitely was meant to say float: right
December 20, 2014 at 12:35 am #134945Davinder Singh KainthMemberDo we still have issue?
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesDecember 22, 2014 at 9:39 am #135060ChrisrxMemberHi Davinder, not sure why but when i try to apply some css styling to the function it doesn't, so i wanted to float it to the right and gave it padding but nothing changed not sure why.
-
AuthorPosts
- The forum ‘Showcase and Feedback’ is closed to new topics and replies.