[Resolved] CSS Right Side Not Taking

Home Forums Support CSS Right Side Not Taking

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1475681
    Jason

    I am sure it’s late and I am just missing something but I can’t seem to get CSS to take on the right side widget on page https://www.superco-opbros.com/category/reviews/

    CSS:
    .latest_reviews ul li {
    list-style-type: disc;
    display: none; // Did this for extreme testing. Items do not disappear
    }

    Small snippet of HTML.

    <div
    id="right-sidebar" class="widget-area sidebar is-right-sidebar grid-25 tablet-grid-25 grid-parent" itemtype="https://schema.org/WPSideBar" itemscope><div
    class="inside-right-sidebar"><aside
    id="custom_html-4" class="widget_text widget inner-padding widget_custom_html"><h2 class="widget-title">Latest Reviews</h2><div
    class="textwidget custom-html-widget"><ul
    class="latest_reviews"><li><a
    href="https://www.superco-opbros.com/2020/10/02/super-mario-bros-35-player-battle-review/" rel="bookmark">Super Mario Bros. 35 – Player Battle Review</a></li><li><a
    href="https://www.superco-opbros.com/2020/09/30/super-sma-i-mean-kirby-fighters-2/" rel="bookmark">SUPER SMA….I MEAN, KIRBY FIGHTERS 2 REVIEW?</a></li>

    I’ve turned off WP-Optimize, purged the cache but to no avail. What am I missing?

    #1476055
    David
    Staff
    Customer Support

    Hi there,

    the latest_reviews class is on the UL element so your CS should look like this:

    .widget ul.latest_reviews li {
        list-style-type: disc;
    }
    #1477718
    Jason

    Duh! Bit rusty with my CSS. Thank you!

    #1477945
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.