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
  • #148397

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

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

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

    Here’s a live listing :

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


    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.


    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.