• I’ve got the democracy poll plugin working correctly on my side menu at http://www.rapnews.co.uk

    however

    i would like to add a space or so that the content either side of the poll has some space between.

    I’ve opened the democracy css but I can’t seem to make any difference.

    I’ve added into the sidebar css to no effect.

Viewing 15 replies - 1 through 15 (of 18 total)
  • ?

    #democracy {
          margin-left:20px;
          margin-right:20px;
    }

    I see you haven’t fixed your CSS on one line issue.

    Thread Starter tonywright

    (@tonywright)

    it constantly reverts back to one line however much i fix it.

    please could you tell me how to get the space before and after my democracy poll block

    if you mean “above (top) and below (bottom)”, just use what I posted above and add margin-top and margin-bottom, or better yet…

    margin: Y1px X1px Y2px X2px;

    (top right bottom left)

    Thread Starter tonywright

    (@tonywright)

    do i do this in the css or the sidebar php?

    That goes in the css. I see the plugin has its own, so you can either add it to your theme css or edit the plugin css.

    Thread Starter tonywright

    (@tonywright)

    thank you.

    the contents of my democracy css is as below. i don’t see where i should enter your suggestion. would you happen to know how to make the poll a slightly larger size font too?

    .democracy-choice {
    display: block;
    background: #06c;
    height: 3px;
    border-bottom: 2px solid #05a;
    font-size: 1px;
    }

    .dem-choice-border {
    margin: 8px 0;
    display: block;
    background: #fff;
    height: 5px;
    width: 100px;
    border: 1px solid #ccc;
    }

    /* BLIX fixies */
    #democracy input { width: auto; }
    #democracy ul { padding: 0; }
    #democracy label {
    float: none;
    display: inline;
    }

    #voted-for-this { border: 1px solid #333;}

    #dem-total-votes { }
    #poll-question { }
    #democracy { }

    #democracy {
          margin: 10px;
          font-size: 12px;
    }

    I can no longer test the css because apparently you have removed the section in your sidebar.

    Thread Starter tonywright

    (@tonywright)

    i dont see four lines in the existing code which look like that

    Sorry, I guess there are css beginners and css beginners πŸ˜‰

    See the code you posted? It has “#democracy { }” in it. Just add the margin and font size between the brackets like I posted. If it didn’t have that, you would just add all of what I posted. The CSS does not have to already have the styling in it, you can add or delete to your heart’s content.

    Thread Starter tonywright

    (@tonywright)

    when i change the fontsize number, it increases the thickness of the vote indicator bars, not the test.

    i would also like to add a gap between the question and the first choice or result

    It will change the font-size of everything within the “<div id=’democracy’>” that is not specifically set elsewhere. To “hone in on” just the label text, you might try:

    #democracy label (
          font-size: 14px;
    }

    Hopefully you are also getting the gist on just how to do this type of thing generally.

    Thread Starter tonywright

    (@tonywright)

    thank you ever so much beel, a true help. god bless you.

    do you possibly know how i can add a space (alter the margin, see i’m learning the lingo!) between the title/poll question and the first result bar or choice?

    You would look at the source and see exactly what separates the two things you wish to be farther apart. In this case it is an unordered list (ul) so you could use:

    #democracy ul {
          margin-top: 20px;
    }

    Thread Starter tonywright

    (@tonywright)

    thank you very much. the poll is looking a lot better. would you agree?

    http://www.rapnews.co.uk

    feel free to vote for anything but ‘yes’ so i can see what the other result bar’s will look like.

    thank you very much once again.

    if you were me, would you have the random qote and poll stuff appearing on every page of my site?

    i can’t decide whether to define that it only stays on the main page.

    Me personally, I’d have it in only one place. Once it is read, voted on, and the results displayed, it is “done” and doesn’t need to “follow me” wherever I go on your site (and if I make the decision not to vote I ain’t gonna vote on any other page, either).

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘A CSS Setting’ is closed to new replies.