Results 1 to 7 of 7

Thread: CSS HELP trying to make field disappear

  1. #1
    Join Date
    Dec 2008
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default CSS HELP trying to make field disappear

    im trying to make a field disappear from a shopping cart using advnaced css its the short discription, it uses the css coding but i cant seem to figure it out

    <div class="product-row clearfix">
    <!-- row start -->

    <div class="rowstart product">
    <!-- start product-->
    <dl class="content-product clearfix">
    <dd class="content-product-header">
    <h4>
    <a href="/preview/product.sc?categoryId=2&amp;productId=10">Gi Joe Doll</a>
    </h4>
    </dd>


    <dt class="smallimage">
    <a href="/preview/product.sc?categoryId=2&amp;productId=10"><img src="?" alt="Gi Joe Doll" /></a>
    </dt>


    IM TRYING TO MAKE THIS FIELD DISPLAY NONE

    <dd class="shortdescription">
    <p>
    Short Description
    </p>
    </dd>
    <dd class="prices">







    <ul>
    <li class="price list ">
    Price
    :
    $32.00
    </li>



    </ul>

    </dd>
    <dd class="options clearfix">

    <ul>
    Last edited by bbclown212; 12-02-2008 at 03:08 AM.

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Can you change the html code of that at all?
    So you want this to display nothing?
    <dd class="shortdescription">
    <p>
    Short Description
    </p>
    </dd>
    If that class (shortdescription) is not being used by anything else then make it display:none;. I don't really understand your question here though why not just delete the field or set it to hidden? And take out the description text. I also dont see anything from a form in that.

  3. The Following User Says Thank You to bluewalrus For This Useful Post:

    bbclown212 (12-06-2008)

  4. #3
    Join Date
    Dec 2008
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    blue it has to be written in css and not HTML not sure how to make it write the code to make it display none

    i know i have one that is

    .header {
    displaty: none;

    }

    and it works fine but i cant figure out the other

  5. #4
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    What is the other one, just put all the code of the part you want to not be displayed on here? From the start of it to the closing tag. and a link to your page.

  6. #5
    Join Date
    Dec 2008
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Its not published yet for public view but the part in red below is what i need VANISHED

    <div class="product-row clearfix">
    <!-- row start -->

    <div class="rowstart product">
    <!-- start product-->
    <dl class="content-product clearfix">
    <dd class="content-product-header">
    <h4>
    <a href="/preview/product.sc?categoryId=2&amp;productId=10">Gi Joe Doll</a>
    </h4>
    </dd>


    <dt class="smallimage">
    <a href="/preview/product.sc?categoryId=2&amp;productId=10"><img src="?" alt="Gi Joe Doll" /></a>
    </dt>

    <dd class="shortdescription">
    <p>
    Short Description
    </p>
    </dd>
    <dd class="prices">







    <ul>
    <li class="price list ">
    Price
    :
    $32.00
    </li>



    </ul>

    </dd>
    <dd class="options clearfix">

    <ul>

  7. #6
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    Okay try this if not then put up the whole css code as well.
    Code:
    .shortdescription {
    display:none;
    }
    or
    .shortdescription {
    visibility:hidden;
    }

  8. #7
    Join Date
    Dec 2008
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for all your help it worked

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •