Forums

[resolved] Democracy poll plugin help with CSS (12 posts)

  1. WILKA
    Member
    Posted 5 years ago #

    I've added the Democracy poll to a site i'm putting together.

    http://bhafc.findingmyfeet.net/

    As you can see the style of the poll under the list of voting options is effected by the sidebar stylesheet options. I'm sure its something really easy to change, but i'm fairly new to all this. I presume I need to change or add something to the CCS in the democracy plugin folder. Can anyone help?

    Cheers

  2. Samuel B
    moderator
    Posted 5 years ago #

    http://validator.w3.org/check?uri=http%3A%2F%2Fbhafc.findingmyfeet.net%2F
    Look at errors 2-5. This is not so much a style problem as much as a whacked sidebar code.

  3. WILKA
    Member
    Posted 5 years ago #

    Thanks.

    These points are not in the sidebar code though. Do you have any idea where they can be found? Do I just need to amend the points which are in red?

    I'm faily new to PHP code so sorry to ask if its a stupid question!

  4. WILKA
    Member
    Posted 5 years ago #

    I presume this is the code which needs to be changed from the plugin folder.

    [moderated huge code]
    Please use http://wordpress.pastebin.ca for lengthy code.

  5. Samuel B
    moderator
    Posted 5 years ago #

    Are you sure your sidebar.php is consistent and correct?
    Modifying the code in the plugin won't help you achieve a look.
    If I'm misunderstanding I apologize. Post back with a link from the pastebin if you think that's it.

  6. WILKA
    Member
    Posted 5 years ago #

    Now i'm getting confused!

    The error's you posted in your first link refer to the code in the sidebar generated by the following code:

    http://wordpress.pastebin.ca/321820

    So how do I go about rectifying those errors or are you saying the fault is somewhere else?

  7. Samuel B
    moderator
    Posted 5 years ago #

    No, I'm no expert at this by no means, but it looks like if you go down your sidebar.php and compare code, you have something out of order.
    I could be totally off base. I'm stuck at work right now and don't have my FF with all the dev goodies to check it out properly.

  8. WILKA
    Member
    Posted 5 years ago #

    Thanks that ok!

    This is my sidebar code. My untrained eye can't see anything wrong?

    http://wordpress.pastebin.ca/321827

    Anyway no real rush as the site is not anywhere near ready to go live. It's just been bugging me not being able to sort it out.

  9. Samuel B
    moderator
    Posted 5 years ago #

    At the pastebin address on lines 21 & 23 try removing the <li> and </li>.
    I think it's breaking up your look.

  10. WILKA
    Member
    Posted 5 years ago #

    Already tried that one.

    It makes it worse! I will leave it as it is so you can see

    http://bhafc.findingmyfeet.net/

  11. Samuel B
    moderator
    Posted 5 years ago #

    OK - I'll look at it in more detail when I get home if no one has helped you out.

  12. WILKA
    Member
    Posted 5 years ago #

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic