Centering Polls

  • i have been trying to center the polls on my forum for few days now and i know that my css is correct

    Code
    .pollContainer {margin: 0 auto;max-width: 50%;min-width: 300px;}


    i dont know how but even through i edited line 2095 it comes out like this


    Code
    .pollContainer {
    float: left;
    margin: 0 14px 7px 0;
    max-width: 50%;
    min-width: 300px;
    }

    i really want to know how i can center my polls as i dont really like how the text is shifted to the side
    any kind of help is appreciated :thumbsup:

  • First of all: Please do never any modification on files directly. At least on the next update the files will get overwritten.


    So please edit your design in the ACP:
    Appearance -> Styles -> List Styles -> Edit Style -> Advanced Settings -> Individual CSS and LESS.


    If you're there, add the following code at the bottom of the input area:

    CSS
    .pollContainer {
    float: none;
    margin: 0 auto @wcfGapSmall;
    }