Forum Replies Created
-
AuthorPosts
-
G9Stuart4Member
I think I've just managed to fathom out a way to do it with widgets, and keep my wrapper around it all!
If you're interested - this is how I've done it;
// Calling Header
get_header();echo '<div class="background-50-50">';
echo '<div class="wrap">';
// Display Special Events One Half Widget Left
genesis_widget_area( 'special-events-left', array(
'before' => '<div class="special-events-left widget-area">',
'after' => '</div>',
));// Display Special Events One Half Widget Right
genesis_widget_area( 'special-events-right', array(
'before' => '<div class="special-events-right widget-area">',
'after' => '</div>',
));
echo '</div>';
echo '</div>';// Calling WordPress Loop
echo '<div class="wrap">';
genesis_do_loop();
echo '</div>';// Calling Footer
get_footer();What do you think, is this semantic? I'll have a look over your link now, thanks for that!
EDIT: http://stuartgreen.me.uk/pontins-events/special-events/ here is the link, if you'd like to check it out
G9Stuart4MemberCan I also ask, is it best practice to use widget areas? Or is there a way it can be done without widgets? The homepage has left me with quite a few widget areas and if I can help it, I'd like to cut back on using them if I don't have to 🙂
But this is my first time using Genesis and creating my own theme and I'm new to PHP, kind of learning on the way though!
G9Stuart4MemberHey Tom,
Thanks for your example - I'm wanting them to be full width - background edge to edge, is this possible how you've done it? As when I tried, the text seemed to have no wrapper anymore :/ So not only was the background edge to edge but the text too?
EDIT: http://laluica.com/amir-vs-floyd/ is a good example, the two boxer profiles, edge to edge but still in a wrapper - something like this 🙂
G9Stuart4MemberAh, I see - so you have opted for the same sort of thing as what I attempted with the background images? Could you let me know how you fathom the problem if you do, and I shall update here if I fathom out a way as well!
G9Stuart4MemberTo be honest with you, I don't really know - I have tried that method, but I don't know if there are any better ones than the two I have previously tried - would you recommend this method?
G9Stuart4MemberSorry. I was away for a few days on a mini break. Apologies for that.
Yes, basically I want to make my header section scroll like Altitude Pro but instead of changing colour, just shrink in size really (only slightly).
I do have access to all the themes, but this is the first time I have ever tried ti make a Genesis website, and I'm struggling to understand what to copy :/ and I could normally do this very simply myself with HTML, CSS and jQuery, but as I'm using Genesis as a framework here, and it's my first time viewing the code and I'm not quite up to scratch with PHP (very beginner level but learning) I'm a bit stuck 🙁 but I don't want to give up.
G9Stuart4MemberI'm looking to have the whole section sort of drop down and go a bit smaller upon scroll, could you recommend the easiest way to do that?
Thanks for the links, I'm going to have a good read through them now, as that sounds like it could be beneficial, as I'm looking to add menus to the footer.
I appreciate that a lot!
G9Stuart4MemberHi,
Yeah I understand that, but sorry for my ignorance, I'm new to Genesis. I'm not quite sure how to change that to the header as that menu used in the header is a widget area and not an actual navigation (I mean it's a menu, but it's not primary or secondary, if you know what i mean) It's set in the widget areas?
Thank you.
-
AuthorPosts