Forum Replies Created
-
AuthorPosts
-
Brad DaltonParticipant
You can also hide your sidebar on the homepage using this CSS code:
.home #content, .home #sidebar { display: none; }
Brad DaltonParticipantThanks Anitac. I did try that method but couldn't get it to work. Will have another go at it.
Brad DaltonParticipantYou should be able to find tips on how to do that using the search box as those questions have already been answered in these forums.
Brad DaltonParticipantThe code i posted is CSS code and goes at the end of your child themes style.css file. You'll need to change the values to suit your own styling requirements.
The links to other articles using PHP code require you to add the code to your child themes functions.php file and any CSS goes in the style.css file.
Backup both files first.
You might want to instant WordPress locally with a copy of your theme and modify the code there.
Brad DaltonParticipantTry out the code and see if it works. You could also create a third nav menu and use thaqt in the footer or duplicate your primary nav menu in the footer and hide it on any pages you want.
Brad DaltonParticipantThere's different ways to do this:
You can create a widget area in 3 separate footer locations (wherever there's a genesis_hook and use the custom menu widget with the Widget Logic plugin and conditional tags.
Or you can write a custom function using conditional tags and add these actions in the function.
/** Reposition the secondary navigation menu */ remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_footer', 'genesis_do_subnav' );
You can use this code and hide the footer nav using CSS as well.
Example:
.home .footer_nav { display: none; }
or use the page i.d rather than #home
Brad DaltonParticipantHere's some CSS code you can use to change the styling of the eNews widget in the header:
#header .enews-widget { color: white; background-color: #464646; padding: 28px 32px 32px; padding: 1.75rem 2rem 2rem; } #header .enews-widget input { width: 20%; } #header.enews-widget input[type="submit"] { width: 20%; display: block; margin: 0 auto; padding: 16px; padding: 1rem; width: 100%; }
You can change the value for each property until you get the styling you want.
Yes you can create a custom page template and use it as your home page.
Or you can modify your existing home.php file and the classes in your child themes style,css file.
Another option is to modify a home.php or page template file from another theme and use that.
All these modifications will require a fair amount of coding knowledge.
Resources:
http://genesistutorials.com/creating-a-custom-template-in-genesis/
http://gregrickaby.com/2011/03/how-to-create-a-page-template-in-genesis.html
http://designsbynickthegeek.com/tutorials/creating-page-templates-in-genesis
Brad DaltonParticipantAt the end of your child themes functions.php file. Backup the file first.
Brad DaltonParticipantTry this http://wpsites.net/web-design/adding-duplicating-home-page-widgets-genesis/
I'd try this on a local or test site first and backup your child themes files first.
Brad DaltonParticipantYes i noticed that after installing BuddyPress with the Outreach theme.
I fixed the problem by installing the latest version of BuddyPress, 1.7 (Beta) which integrates with all themes and deactivating Genesis BuddyPress connect plugin.
Brad DaltonParticipantInstall the Easing Slider plugin and the Genesis Simple Hooks plugin.
Paste this code into the location you want to display the header.<?php if (is_home()) { easing_slider(); }; ?>
Further reading http://wpsites.net/web-design/image-slider-home-page-only/
You could also add a widget area using PHP code and install the Genesis Responsive Slider which is more complicated but probably a better option. http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar
Brad DaltonParticipantChange the hook to any location you want http://genesistutorials.com/visual-hook-guide/
And use the conditional tag for the home page:
is_home
Brad DaltonParticipantLink to your site please.
You'll need to add another widget area http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar
Brad DaltonParticipantBrad DaltonParticipantLink to your site please
It would be something like this:
.page-template-default .entry-title { display:none; }
Brad DaltonParticipantGood luck. i base my content on the needs, challenges, frustrations and goals of my readers.
Brad DaltonParticipantBrad DaltonParticipantFirstly gh5649. Please show a little bit of respect and read this http://www.studiopress.community/faq/
Specifically about how to display code.
Thanks
Brad Dalton
Brad DaltonParticipantPersonal opinion Volvox. I prefer PHP whereas some people prefer CSS.
Ask the community in the general discussion forum and see what others prefer.
Please mark this as resolved before starting another thread. Thanks
Brad DaltonParticipantPro's and Con's for both.
PHP enables you to remove everything which is output into HTML at the server level where it is processed whereas CSS enables you to hide the display using the browser
-
AuthorPosts