help taking out section out of favorite page

http://www.njreefers.org/

unable to delete center box (after installed my script )trying to hide sponsor threads . Just trying to view home bar /Recent Threads/For Sale Threads ..Here is my stlyish.



@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document ("www.njreefers.org") {

}.splitWidgets

{
display: none !important;
}



.belowWidgets
{
display: none !important;
}
.img src
{
display: none !important;
}
.bx-wrapper
{
display: none !important;
}
.crumb
{
display: none !important;
}
.breadcrumb
{
display: none !important;
}
.titleBar
{
display: none !important;
}
.zoneWrapperInternal
{
display: none !important;
}
.calendar
{
display: none !important;
}
.secondaryContent
{
display: none !important;
}


thanks c-r@comcast.net (chris)

Comments

  • Remove the closing curly bracket preceding the first selector:

    }.splitWidgets

    And add a closing curly bracket to the very end of the code.
  • Oh, just noticed your @-moz-doc is also invalid, and that CSS can all be combined since all selectors have the same property:
    @-moz-document domain("www.njreefers.org") {
    .splitWidgets,
    .belowWidgets,
    .img src,
    .bx-wrapper,
    .crumb,
    .breadcrumb,
    .titleBar,
    .zoneWrapperInternal,
    .calendar,
    .secondaryContent {
    display: none!important;
    }
    }
  • @anagrammar thanks for your help . but did not work Pic #2


    this is my code pic 1
    .splitWidgets
    {display:none}

    .belowWidgets
    {display:none}

    .img src
    {display:none}

    .bx-wrapper
    {display:none}

    .crumb
    {display:none}

    .breadcrumb
    {display:none}

    .titleBar
    {display:none}

    .zoneWrapperInternal
    {display:none}

    .calendar
    {display:none}

    .secondaryContent
    {display:none}
    ``````````````````````````````````````````````````````````````````````````````````````````````````````````````

    pic #code from you
    @-moz-document domain("www.njreefers.org") {
    .splitWidgets,
    .belowWidgets,
    .img src,
    .bx-wrapper,
    .crumb,
    .breadcrumb,
    .titleBar,
    .zoneWrapperInternal,
    .calendar,
    .secondaryContent {
    display: none!important;
    }
    }
    ````````````````````````````````````````````````````````````````````````````````````````````````````````````

    @anagrammar .trying to hide Sponsors Threads middle box.pic with red x . thanks for your help.chris
    1600 x 876 - 265K
    1600 x 900 - 349K
    1600 x 900 - 255K
  • .splitWidgets,
    .belowWidgets,
    .img src,
    .bx-wrapper,
    .crumb,
    .breadcrumb,
    .titleBar,
    .zoneWrapperInternal,
    .calendar,
    .secondaryContent,
    .sidebar.widgetContainer.footerWidgets.noFloats > p:nth-child(5),
    .sidebar.widgetContainer.footerWidgets.noFloats > hr:nth-child(6),
    #widget_25 {
    display: none!important;
    }
  • @pabli that is what i needed .but how do i get rid of errors11-14 , i mean it is the layout i wanted
    1600 x 900 - 206K
  • Ignore it ¯\_( ͠° ͟ʖ ͠° )_/¯
    or use Stylus who has updated css linter and it's not an issue
  • do you use page source to view code
  • I use DevTools. Right click and Inspect or Ctrl+Shift+I
  • You can use Ctrl+Shift+C to mark the item you want and find it fast in the html tree.
  • thanks everyone .
    500 x 500 - 25K
Sign In or Register to comment.