Poll CSS Customization
-
Hello I am using the Triton Lite theme and I would like to know if there’s a snippet for the following. If you look at my main page, at the bottom of the page there would be 5 posts with one empty space in between the last two posts. This is due to the fact that I have that missing post as my sticky on the slider. My request is the following.
Is there a way to put the poll that I have in the right side of my widget section into that empty space in the main page between those two posts?
The blog I need help with is: (visible only to logged in users)
-
Hi, I don’t see any poll on your main page. Did you remove it? This can be done, but any change to your posts, such as adding another, could, and probably would cause a post to be hidden behind the poll.
-
If you click on any of the articles, you should see the poll on the right side just below the Twitter timeline.
-
If the poll doesn’t show on the main page, then there is nothing for us to move as the HTML for the poll doesn’t exist on the main page. You would have to put it into the footer widget area on the main page and then we could move it.
-
-
Ok, this isn’t perfect but I think about the best we can do given the structure of the HTML and CSS. You will notice that the two other widgets in the footer area are spaced apart. That is because I had to use position: relative in this case to be able to keep the poll centered when the browser window is narrower than the width of your site.
#text-41 { position: relative; top: -535px; } -
It works perfectly, thank you very much. Just one quick detail. I noticed that the height of the footer increased, is there a way to eliminate that much height so it can be shorter as it was prior to using the poll snippet?
-
Unfortunately I can’t come up with a way to do that given we had to use position: relative so we could keep it centered after moving it.
-
ok sounds good, would there be a snippet to make that poll be 198 px in width and no border radius?
-
also, i found a litte detail as well. if you click on the category pages or even on the articles you can see the poll interfering. is there a snippet for that poll to just be on that position but only in the main page?
-
-
- The topic ‘Poll CSS Customization’ is closed to new replies.