Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS New to css coding and need help with hiding attribute text on my website

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #41483
    turnnburn36
    Member

    Hello, I’m new to css coding and I have a question about hiding attribute text on my ecommerce website’s product detail pages (I use a Homestead.com template). My dilemma is that some of my products have multiple attributes which will show up text and prices under the product title, thus creating a very messy looking page for my products. I would like to find a way to hide this text without corrupting the attribute’s cart “update” function when they choose an attribute. Here is a link to one of my products to get a better idea of my concern:

    http://stores.homestead.com/springcreekrusticoutfitters/-strse-57/Western-Cabin-Lodge-Dakota/Detail.bok

    Homestead will not help unless you pay them to design or change the template (understandable… to an extent), but I cannot afford to pay them at this time. So….I’m forced to try and figure it out for myself.

    They did tell me where the code was located, but would not tell me what or how to change it. Here is the code they suggested I figure out a way to change:


    Price:




    ()

    [code]

    Any advise or suggestions would be greatly appreciated! :)

    Marcy [code]


    Price:




    ()

    Any advise or suggestions would be greatly appreciated! :)

    Marcy [code]

    Any advise or suggestions would be greatly appreciated! :)

    Marcy

    #118290
    turnnburn36
    Member

    Thanks so much for your help! Yes, that would be correct. I tried that but it is still there:

    Any other options?

    #118298
    magnus_vb
    Member

    Marcey, just a wild guess: what happens if you remove (or comment out) the line

    Does that break the cart? Maybe you already have tried that ;)
    Otherwise, maybe some of the other [methods of hiding](https://css-tricks.com/places-its-tempting-to-use-display-none-but-dont/)

    #118303
    turnnburn36
    Member

    Magnus: I tried that and nothing happens…

    #118305
    turnnburn36
    Member

    ChrisP: I’m a little confused as to what you mean by “make sure there’s no publish my changes option as I don’t see any changes to the site at all.”. There is an option for that, but I never publish anything until I know it’s going to work. I usually hit “save” and then “preview” to view the changes. If they aren’t correct I can simply click on “undo”.

    I’ve also looked in the Stylesheet Base css template but can’t find anything there that has anything to do with the attributes functions.

    Any other suggestions? And thanks again for all the help :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.