Support » Fixing WordPress » Trouble Centering Thesis
Trouble Centering Thesis
-
Website: http://janicegablebashman.com
Problem: Can’t center the Thesis theme.
What I want to do: Center theme on the page.
What I’m doing: Activate Text Widget with the following code:
<html>
<head>
</head>
<body style=”width: 195px;”>
<div style=”text-align: center;”><a
href=”http://www.thrillerwriters.org/admin/mt-search.cgi?IncludeBlogs=2&search=bashman”
target=”_blank”><img
style=”border: 0px solid ; width: 190px; height: 104px;”
alt=”The Big Thrill”
src=”http://i755.photobucket.com/albums/xx200/janicebashman/itwlogo_190w.jpg”>
</div></body>
</html>
-
well…I’m no expert coder, however, arent webpages only supposed to have 1 html/head/body declaration?
So if you put all that in a text widget, your page will have 2 of each….
Thanks. Obviously, I’m no expert either.
I’m generating the code using Kompozer, a WYSIWYG editor. I’m truly clueless.
First off, was your theme centered before you put that code in a text widget?
Next, what are you trying to do with that code? Just put in a graphic link?
Yes and yes.
I have the same condition on these sites:
I’m just starting out on Bashman’s so I gotta figure this out. As soon as I dropped the ITW link in the text widget, the whole blog aligned left.
Remove the
style="width: 195px;"
from yourbody
and the container will be centered thanks to themargin:0px auto
in the css.<a href="http://www.thrillerwriters.org/admin/mt-search.cgi?IncludeBlogs=2&search=bashman" target="_blank"><img style="border: 0px solid ; width: 190px; height: 104px;" alt="The Big Thrill" src="http://i755.photobucket.com/albums/xx200/janicebashman/itwlogo_190w.jpg" /></a>
should really be all you need
or even
<a href="http://www.thrillerwriters.org/admin/mt-search.cgi?IncludeBlogs=2&search=bashman" target="_blank"><img src="http://i755.photobucket.com/albums/xx200/janicebashman/itwlogo_190w.jpg" alt="The Big Thrill" /></a>
depending on your css……(but most themes take care of styling in the sidebar (centering, borders, etc…)
Bless you both.
If there’s ever anything I can do for you, please feel free to hit me at donlaff at gmail.
From Sunny Philadelphia,
Don
🙂
Just happy you got it sorted!
- The topic ‘Trouble Centering Thesis’ is closed to new replies.