Enterprise Slider area

Community Forums Forums Design Tips and Tricks Enterprise Slider area

This topic is: resolved

This topic contains 30 replies, has 3 voices, and was last updated by  keystone 1 year, 7 months ago.

Viewing 15 posts - 1 through 15 (of 31 total)
  • Author
    Posts
  • #9657

    keystone
    Participant
    Post count: 92

    Hi,

    I would like to completely remove the top bar that goes right across the screen and the slider. Can someone help a newbie with information on how to do this please?

     

    many thanks


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9660

    Susan
    Moderator
    Post count: 8542

    To clarify – are you talking about the dividing line between the nav bar and the slider? If so, look for these images in your images folder in your theme folder (on your hosting site):

    home-top-wrap.png
    home-top.png

    Rename them (I like to put the word old in front of the name).


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #9662

    keystone
    Participant
    Post count: 92

    Hi Susan,

     

    Thanks for the response. In this case I would like to completely remove the slider, slider background and maintain the widgets beneath the header.

     

    Plus can you direct me to the where to change the nav bar background color? I have just tried everything I can see but cannot seem to get it…

     


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9663

    keystone
    Participant
    Post count: 92

    Plus I should mention I am using the Enterprise Theme


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9666

    Susan
    Moderator
    Post count: 8542

    Yep – I know you’re using the Enterprise theme :)

    To remove the slider widget area (which is the home top 1 and home top 2):

    To remove the slider widget area, open your functions.php file, and delete the following:

    [php]

    /** Register widget areas */
    genesis_register_sidebar( array(
    ‘id’ => ‘home-top-1′,
    ‘name’ => __( ‘Home Top #1′, ‘enterprise’ ),
    ‘description’ => __( ‘This is home top #1 section.’, ‘enterprise’ ),
    ) );

    genesis_register_sidebar( array(
    ‘id’ => ‘home-top-2′,
    ‘name’ => __( ‘Home Top #2′, ‘enterprise’ ),
    ‘description’ => __( ‘This is home top #2 section.’, ‘enterprise’ ),
    ) );
    [/php]

    Next, go to your home.php, and remove the following:

    [php]
    add_action( ‘genesis_after_header’, ‘enterprise_home_top_helper’ );
    /**
    * Conditionally add Home Top #1 (home-top-1) sidebar and WP-Cycle.
    */
    function enterprise_home_top_helper() {

    echo ‘
    <div id="home-top-bg">
    <div id="home-top">
    <div class="wrap">’;

    if ( is_active_sidebar( ‘home-top-1′ ) ) {
    echo ‘
    <div class="home-top-1">’;
    dynamic_sidebar( ‘home-top-1′ );
    echo ‘</div>
    <!– end .home-top-1 –>’;
    }
    echo ‘
    <div class="home-top-2">’;
    if ( function_exists( ‘wp_cycle’ ) )
    wp_cycle();
    echo ‘</div>
    <!– end .home-top-2 –>’;
    echo ‘</div>
    <!– end .wrap –></div>
    <!– end #home-top –></div>
    <!– end #home-top-bg –>’;

    }
    [/php]

    As for the Nav Bar background – are you talking about the really dark gray color that is the Primary Navigation bar? That’s actually an image - nav.png


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #9667

    keystone
    Participant
    Post count: 92

    Many thanks…just as a matter of interest…if the idiot client I am building this for wanted to but the slider back down the track…could I just replace this code again for it to reappear?


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9668

    buddy_boy8403
    Participant
    Post count: 132

    Can you post a link to your site?  I did this for a customer a couple months ago with the Enterprise theme by commenting out the CSS.  I liked doing it this way because if they ever decided they wanted to use the slider in the future, all I had to do was uncomment the styling and it’s good to go again. Go into the Enterprise style.css file and make the following changes:

    I basically commented out everything in the css file from ‘Home Top’ on down (it starts around line 627).  Below is a copy of what I did so feel free to paste this into your file by overwriting everything in the Home Top section:

    /* Home Top
    ------------------------------------------------------------ */
    /* Image replaced with CSS by: #home-top .wrap
    #home-top-bg {
    background: url(images/home-top.png);
    }
    #home-top {
    background: url(images/top-black-dimple.png);
    background-repeat: repeat;
    float: left;
    height: 50px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    }
    #home-top .wrap {
    background-color: #000;
    overflow: hidden;
    padding: 9px;
    width: 100%;
    height: 180px;
    position: absolute;
    top: 50px;
    left: 0px;
    z-index: -1;
    }
    #home-top a,
    #home-top a:visited {
    color: #fff;
    text-decoration: underline;
    }
    #home-top a:hover {
    text-decoration: none;
    }
    #home-top p {
    color: #fff;
    }
    .home-top-1 {
    background: url(images/top-black-dimple.png) left repeat-y;
    float: left;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    }
    .home-top-1 .widget {
    margin: 0;
    padding: 20px;
    }
    .home-top-2 {
    float: right;
    height: 235px;
    width: 600px;
    margin-top: -50px;
    }*/

    #9671

    keystone
    Participant
    Post count: 92

    Thanks Buddy…site is at http://demo.keystoneinternetsolutions.com.au/ I am also trying to work out how I can make the middle widgets into a brick pattern rather than three rows…but one step at a time I guess. I am taking first steps into using code rather than just theme templates…exciting aint it…lol


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9672

    Susan
    Moderator
    Post count: 8542

    Oh, a Tasmanian :) – I grew up in Melbourne.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #9673

    Susan
    Moderator
    Post count: 8542

    Actually – I shouldn’t make that assumption – the website is for a Tasmanian – you could be located anywhere :)


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #9674

    keystone
    Participant
    Post count: 92

    You can make that assumption…Hobart is glorious today


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9676

    Susan
    Moderator
    Post count: 8542

    :)


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #9678

    buddy_boy8403
    Participant
    Post count: 132

    I’ve never messed with repositioning the middle widgets, but I think it’s going to be more work that what you would want to do. There are basically three widgets in the home middle section and with those, you can add a whole bunch of items in line vertically, which usually looks very nice (see a recent site I did: http://www.justwright4design.com/

    Creating a brick pattern would requite two additional middle sidebars (widget areas) and css styling on those sidebars.  If this is something you really have to do to make your client happy, and I was doing it, I would copy the home middle widget code out of your functions.php file and duplicate it twice in the same area in the file.  Rename the applicable parts so that you call them something unique.  Then find the styling rules in the style.css file and make the mods to resize the width of those items.  You should be able to make them look staggered like bricks.

    #9679

    keystone
    Participant
    Post count: 92

    Got the Nav.png and changed the color….thanks Susan


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

    #9681

    keystone
    Participant
    Post count: 92

    Thanks Buddy….yes I think it may remain as three rows at this point….one thing tho…I just set the three widget areas and they seem to be sitting to one side.

    Can I make them bigger to fill the space and also equalise them?

     


    Keystone Internet Solutions – Your Web Development and Positioning Professionals.

Viewing 15 posts - 1 through 15 (of 31 total)

The topic ‘Enterprise Slider area’ is closed to new replies.