Carbon theme help needed
brashquido
Joined: 2006-09-13
Posts: 60 |
Posted: Tue, 2007-03-20 20:16 |
Hi All, I'm using the Carbon theme on my G2.2 site, but I'm having some trouble with the way the block is displayed beneath the photos in the photo view. I have the view comments and add comments block set to display under the photo in the photo view, and although the photos are centered the comment blocks are not as you can see here; http://domandnat.com/albums/South_America/Peru/PICT5922.JPG.html How can I align the blocks displayed under the photo in the photo view in the middle, just like the photo itself (i'm not ery good with HTML or templates)? Thanks. |
|
Posts: 27300
I have found 2 tools that are invaluable the firefox browser and the web development tool that allows you to Make live edits to the CSS of a web page..
Once you have them both installed....
select edit css and under the 'information' dropdown check display ID & class details.
Edit your CSS and you will see the results. Once you have this the way you want, upload your edited css to the server.
Add to theme.css:
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 60
Wow, that is pretty cool floridave. Your suggestion does exactly what I want it to, but I do still have one big issue. How do I make sure the Add and View comments blocks are centered regardless of what screen resolution is being used on the visiting computer? I have a pixel width of 1280 pixels on my laptop, so I set the padding to 280px and it looked perfect. However, when I connect using my mum and dad's older (much older) PC using a width of only 800 pixels the Add and View comments blocks are stuck way over to the right hand side. Any ideas?
Posts: 27300
Try that
if it don't work search google for some CSS centering.
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 60
Nah, no good, the whole page distorts. Thanks for your help anyway.
Posts: 27300
Try various padding and margins with percentages as well.
I think I know what you want to do ( center under the photo ). In order to do that at various reslutions then you would have to add some more code. I will let you sort that out on your own.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
Thanks. It help me
http://kudapoyti.com.ua
Posts: 60
Thanks floridave, what you've done there has made it a lot better at any rate