Log in

View Full Version : Resolved CSS HELP trying to make field disappear



bbclown212
12-01-2008, 11:44 PM
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 :mad::mad::mad:

<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>

bluewalrus
12-01-2008, 11:59 PM
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.

bbclown212
12-02-2008, 12:13 AM
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

bluewalrus
12-02-2008, 02:00 AM
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.

bbclown212
12-02-2008, 02:20 AM
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>

bluewalrus
12-02-2008, 02:25 AM
Okay try this if not then put up the whole css code as well.

.shortdescription {
display:none;
}
or
.shortdescription {
visibility:hidden;
}

bbclown212
12-02-2008, 03:05 AM
Thank you very much for all your help it worked