Different tabularBoxTitle backgrounds for different forums

  • I'm not sure if this is what you're looking for:


    CSS
    #wcf41 header {
    	background-color: #000;
    }

    You would need to check the ID for the tabular box.

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • These IDs are generated via JavaScript and thus are completely dynamical. They shouldn’t be used in CSS.


    We learn something new everyday. Thank you @Black Rider.

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • I mean the CSS ID #wcf41.

    Ah, I misunderstood.

    You have a space too much:
    .tabularBoxTitle[data-board-id="5"] > header {background-color: #000;}

    This doesn't seem to be working. Maybe is should be .something-unknown[data-board-id="10"] .tabularBoxTitle > header {background-color: #000;}?


    ".something-unknown" means that I don't know what should go there.

  • This doesn't seem to be working. Maybe is should be .something-unknown[data-board-id="10"] .tabularBoxTitle > header {background-color: #000;}?
    ".something-unknown" means that I don't know what should go there.

    No. CSS has nothing to do with guessing.
    Please show us a link to your site. The code has to work, if it’s applied correctly.

  • I just tested the code on my local server and it works.


    CSS
    .tabularBoxTitle[data-board-id="50"] > header { 
       background-color: @wcfPageColor;
    }

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • I just tested the code on my local server and it works.

    Can you try changing the background color to something like #ff0000 to see if it works and that it is different than the rest of your forum's colors?

  • Can you try changing the background color to something like #ff0000 to see if it works and that it is different than the rest of your forum's colors?


    It also works



    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • I thought you were talking about the tabular box titles.


    Do you want something like this? :




    According to Firebug this is the path:


    html body#tplBoard div#main.layoutFluid.sidebarOrientationRight div div section#content.content header.boxHeadline



    I used as:


    CSS
    header.boxHeadline {
    	background-color: #ff0000;
    }

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

  • CSS
    .wbbThreadList header {
    	background-color: #ff0000;
    }

    My styles and plugins in the Plugin-Store.

    ♪Quiero robarle los minutos a las horas pa' que mis padres nunca se me pongan viejos...♫

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!