stretching a site to full widht

NSFW warning!

on darkfetishnet.com, adblock is blocking some ads to the left and right side, resulting in the site having empty space to both sides. Is it possible to create a style that could stretch it back to full width?

Comments

  • edited July 2018 Firefox

    Modify inner width to your needs.

    @-moz-document domain("darkfetishnet.com") {
        :root {
            --innerWidth: 1200px;
        }
        /*
        table.body {
            width: 100% !important;
        }/**/
        div.content {
            width: var(--innerWidth) !important;
        }
        div.content > div:nth-of-type(2) {
            width: calc(var(--innerWidth) - 420px) !important;
        }
    }
    
  • you can use percentage and put it at: 100% that way it adapts to your screen. or "auto" could work too. if you need help, anna, i can make it but just till i get home to be safe of lookouts.
Sign In or Register to comment.