Weather by You!
Templates and Projects support => Php templates => Topic started by: BestGear on January 26, 2016, 03:02:55 PM
-
Guys
I need some help please.
I have included BTJustice's excellent forecast script, but I cannot figure out how to set the right hand margin for the text so it does not cross the text box white edge.
I have had a play with padding - with no luck - HELP!?!?!?
If you look above the moon phase on http://weather.penicuik.org (http://weather.penicuik.org) you will see my problem.
Thanks in advance
David
-
Hi David,
You have to edit file style.css
find section .pan and locate this line:
width:220px;
... and try something smaller.
Note that you change width of all right side panels.
Regards,
Jacques
-
Hi Jacques
Many thanks for the quick reply - that is very much appreciated.
Just dropped it down to 213 and it fixes the text, but the right hand side of the "blue box" image gets truncated...ie looses its round edges.
Any ideas...or did I edit the wrong place!??!
.pan {
width: 213px;
height: 250px;
padding: 0px 20px 0px 30px;
margin-bottom:15px;
font-size:120%;
float:left;
color: #000000;
}
David