Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1384984
Removing Bullets from UL
Closed

Comments

  • kellymustgroove started the conversation

    Hello,

    Working in local development, so I don't have a link to the site. However, this should be pretty straightforward, although for some reason this basic update to CSS is not working (very frustrating). I am simply trying to create a UL, remove the bullets, and replace with '*'. For some reason, it's not letting me remove the bullets, even if I put the CSS inline.

    Here is the HTML:

    <ul id="star-list" style="list-style: none; position: relative;">
      <li class="star">A $249 cleanup fee is automatically added if someone gets sick in the vehicle.</li>
      <li class="star">By selecting Mi Casa supper club you are creating a reservation for your party. Selecting this option does not include drinks or food.</li>
      <li class="star">A $500 cleaning deposit is required for house damage protection.</li>
    </ul>

    Here is the CSS, which is adding the stars (see attached screen shot), but the inline CSS above doesn't want to remove the bullets.

    #star-list li.star:before {
      content: "*";
      position: absolute;
      left: -15px;
      bottom: -3px;
    }

    Please help! 

  •  444
    Sergio replied

    Hi,

    pls. use following css:

    #star-list li.star:before {
        left: -12px;
        content: "*";
        height: auto;
        width: auto;
        position: absolute;
        background-color: transparent;
        border-radius: 0 !important;
        top: 4px;
    }

    If you’re happy with our theme, please rate us with 5 stars on Themeforest. It keeps us motivated!  (How to rate).

    Regards Sergio Codex.

  • kellymustgroove replied

    That worked - thank you!

  •  444
    Sergio replied

    HI, 

    Feel free to contact us if you need help. 

    If you’re happy with our theme, please rate us with 5 stars on Themeforest. It keeps us motivated!  (How to rate).

    Regards Sergio Codex.