Re: [css-d] Changing Visibility on Just One Element

2014-12-18 Thread Gates, Jeff
On 12/18/14, 10:04 AM, "Jukka K. Korpela" wrote >2014-12-18, 16:26, Gates, Jeff wrote: > >> Yucca, question: when you used the Firefox Web Developer Extension, did >> you notice if every legend disappeared or just the very first one (Your >> Shopping Cart)? > >There is no other element on the pa

Re: [css-d] Changing Visibility on Just One Element

2014-12-18 Thread Jukka K. Korpela
2014-12-18, 16:26, Gates, Jeff wrote: Yucca, question: when you used the Firefox Web Developer Extension, did you notice if every legend disappeared or just the very first one (Your Shopping Cart)? There is no other element on the page. Second, I am not allowed access to either the shopping

Re: [css-d] Changing Visibility on Just One Element

2014-12-18 Thread Gates, Jeff
On 12/17/14, 4:52 PM, "Jukka K. Korpela" wrote: >2014-12-17, 23:34, Gates, Jeff wrote: > >> I¹ve already tried #cart-contents legend { visibility: >> hidden; } and it didn¹t work. Actually, that was the first thing I >>tried. > >Where did you put that rule? Does *anything* work where you placed i

Re: [css-d] Changing Visibility on Just One Element

2014-12-18 Thread Gates, Jeff
On 12/17/14, 5:28 PM, "MiB" wrote: > >dec 17 2014 22:34 Gates, Jeff : > >> Jukka and Joergen, I¹ve already tried #cart-contents legend { >>visibility: >> hidden; } and it didn¹t work. Actually, that was the first thing I >>tried. > >Use the web developer tools in here: >https://www.mozilla.org/en

Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread MiB
dec 17 2014 22:34 Gates, Jeff : > Jukka and Joergen, I’ve already tried #cart-contents legend { visibility: > hidden; } and it didn’t work. Actually, that was the first thing I tried. Use the web developer tools in here: https://www.mozilla.org/en-US/firefox/developer/ and you can be *certain*

Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread Jukka K. Korpela
2014-12-17, 23:34, Gates, Jeff wrote: I’ve already tried #cart-contents legend { visibility: hidden; } and it didn’t work. Actually, that was the first thing I tried. Where did you put that rule? Does *anything* work where you placed it? To see the entire code go to http://americanart.si.edu

Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread Gates, Jeff
On 12/17/14, 3:43 PM, "Jukka K. Korpela" wrote: >2014-12-17, 22:24, Gates, Jeff wrote: > >> I only want to hide one headline. Here is the code for that headline: >> >> Your Shopping Cart >> > >If that is the entire element, you can hide it with > >#cart-contents { visibility: hidden; } > >If it

Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread Joergen Lang
I think the mistake lies in your selector. #cart-contents is very likely nested *inside* the form, not surrounding it - at least according to your html. So #cart-contents form ... will probably not work as expected. Try #cart-contents legend { visibility: hidden; } or { display: none; }an

Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread Jukka K. Korpela
2014-12-17, 22:24, Gates, Jeff wrote: I only want to hide one headline. Here is the code for that headline: Your Shopping Cart If that is the entire element, you can hide it with #cart-contents { visibility: hidden; } If it contains other elements, especially controls and their labels, as

Re: [css-d] Changing Visibility on Just One Element

2014-12-17 Thread Rod Castello
Jeff, You could try using the nth-child selector to target the first headline. This site has some helpful instructions on how to do it: http://css-tricks.com/how-nth-child-works/ Good luck. Rod Castello On Wed, Dec 17, 2014 at 12:24 PM, Gates, Jeff wrote: > > I¹m trying to find a workaround for

[css-d] Changing Visibility on Just One Element

2014-12-17 Thread Gates, Jeff
I¹m trying to find a workaround for hiding one headline on a shopping cart hosted page. I don¹t have access to the code on the page but I can create some CSS to hide the element. Unfortunately, it also hides other headlines on the page. This is the CSS that will hide ALL headlines on the checkout