Forums

Css Help - easy for a pro - URGENT FOR DEADLINE (3 posts)

  1. sam8179
    Member
    Posted 1 year ago #

    Hey guys,

    As you can see from the homepage, the slider (picture) is smaller than normal, leaving a large gap between the slider & the content area.

    I added the following to my style.css

    Code:
    #content .container {
    padding:0;
    }

    & then this...

    Code:
    #content .container {
    margin-top:-10px;
    }

    This worked really well, though it alters the home page as well as all the other pages...can you just make it specific to the home/index page as changing this obviously alters all the other pages...other than that it works great.

    As i need to keep the other pages the same, but change the home page or specific page content in this case im using /home as my home page.

    the URL is: http://healtharoma.co.uk/

    thank you so much!

    Sam

  2. elfin
    Moderator
    Posted 1 year ago #

    can't you just change the height set in the class featured?

  3. Digital Raindrops
    Member
    Posted 1 year ago #

    In twenty ten we have:

    <div id="container">
    	<div id="content" role="main">

    You have these reversed in your theme content over container:
    In your 'index.php' or 'home.php' file add an 'inline style' to the container area.

    <div id="content">
    	<div id="container" style="padding-top: 0; margin-top: -10px">

    HTH

    David

Topic Closed

This topic has been closed to new replies.

About this Topic