Forum Support

Shape 5
March 28, 2024, 09:14:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Left Align Poll  (Read 472 times)
jarmer
Jr. Member
**
Offline Offline

Posts: 8



« on: March 22, 2010, 10:24:53 AM »

my site:

http://devlo.asaw.org

I created a new poll, published it to a module on the homepage, gave it the module class suffix "-light" to give it a white background, but now all the options are centered and squished together.  It was not that way when I left the class suffix alone, but I don't want the black background.

Is there an easier way to change the poll's color to a white background, black text?  or center / un-squish the options with the "-light" modifier?

Thanks for the help.
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: March 22, 2010, 11:43:12 AM »

Hello, in the file template_css.css at line 147 you'll find:

table {
margin-left:auto;
margin-right:auto;
}

change it to:

table {
margin-right:auto;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jarmer
Jr. Member
**
Offline Offline

Posts: 8



« Reply #2 on: March 22, 2010, 12:49:29 PM »

Thanks, that did left-align it, but I'm afraid the spacing still looks bad.  They are super-tight together vertically, how can I add some spacing so they don't look so cramped?
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #3 on: March 22, 2010, 01:22:11 PM »

Hello, it looks like the code is still on your site, it needs to be changed to the above for it to be left aligned and then at the very bottom of template_css.css try adding:

table tr {
margin-top:6px;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
jarmer
Jr. Member
**
Offline Offline

Posts: 8



« Reply #4 on: April 13, 2010, 01:13:52 PM »

In Chrome, the text is left aligned, awesome!

However, in IE it's still centered, and the text is still squished together vertically.  I've made both modifications to the templace_css.css file as well, any ideas?

Thanks....
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #5 on: April 14, 2010, 07:10:45 AM »

Hello, you can also try adding this:

.pollstableborder-light td, .pollstableborder-light label {
text-align:left;
direction:ltr;
}
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.