conor909
Member
Posted 1 year ago #
Hi,
I have created a theme, but when I post images to it, it causes white banners to appear, running across the screen. I think the best way to explain is you to have a look, the link is..
http://www.flexhk.com/wordpress
Can anyone help please? I would be forever in debt!
Try adding:
#content p {
max-width: 500px;
}
conor909
Member
Posted 1 year ago #
[SOLVED!] massive thanks to you cubecolour!
One thing though, the page height of my website is static, as my html cant see the end of my posts, so they over flow when adding posts with long info.. Do you know how to get the page height working with the end of the posts?
If you don't mind me going off at a tangent, your theme seems to be putting the header stuff in three times, so the stylesheet is specified each times. Do a view-source to see this. You should look at fixing that as it is causing validation errors:
http://validator.w3.org/check?uri=http%3A%2F%2Fflexhk.com%2Fwordpress&charset=%28detect+automatically%29&doctype=Inline&group=0
As for the height thing, try taking out
height:1250px;
from #content
conor909
Member
Posted 1 year ago #
Thanks for your reply's cubecolour
ok, thats strange. I only have one get_header tag in the Index.php. I dont know why thats happening. This is my first wordpress theme so im a an amateur. Any help would be appreciated.
For the height, if I take out the [code]height:1250px;[/code] from #content, the footer jumps right up under my header, and the posts overflow on top..
Im confused!
conor909
Member
Posted 1 year ago #
Ah ok I had the Index header code in all my .php files, including header.php and footer.php
Thanks for the advice!