Forums

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

Home Forums CSS How to Target Div & Class in eBay?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #148397
    MBM
    Participant

    I want to style the shop categories section inside an eBay time listing. I’ve inspected the element and the code is as follows :

    <td id="storeHeader" class="ds-cl">
    <div class="cl-cnt u-flL">
    <div class="cl-hdr" style="background-color: #020202;">
    <h3 class="cl-ttl" style="color: #FFFFFF;"></h3></div>
    
    <div class="cl-lcat" style="background-color: #EEEEEE;">
    </div></div>
    </td>    
    

    I cannot figure out how to target the div and class in css. I’ve tried :

    #storeHeader.cl-hdr
    

    But the changes I make do not display. What am I doing wrong?

    Here’s a live listing :

    http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=130977442967

    I know the listing is a mess, it displays fine outside of the listing frame with customised shop categories :

    http://stores.ebay.co.uk/conceptclothingwear/pages/listing/_i.html?

    #148454
    Senff
    Participant

    You missed a space! :) It should be:

    #storeHeader .cl-hdr
    

    Also, if you have no control over the HTML markup, you may have to use !important to override the inline styles.

    And finally, you may want to do something about the product images. All of them are stretched horizontally, the models look a bit like they’re in bad shape.

    #148503
    MBM
    Participant

    Thanks. The images have differing sizes so I will have to resize them manually.

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