• Resolved gmc725

    (@gmc725)


    I installed wordpress on a very long domain name, which I am also using for my blog title. The blog title is so long that it runs off the right margin of the header and just cuts off the last few characters. (I am using one of the two default themes available on a fantastico install – the older green one). I have only very basic html skills, not too sure about css, but I can cut and paste code. How can I get my blog title to align centered in the header?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Can you share the URL? We (probably) can’t give you copy/paste code without looking ?? Someone much better at this than I am maybe can…

    Thread Starter gmc725

    (@gmc725)

    Moderator James Huff

    (@macmanx)

    Go to Appearance/Editor in your admin panel and edit the Stylesheet. You’ll see the following in there:

    #header {
    	background: #90a090;
    	border-bottom: 3px double #aba;
    	border-left: 1px solid #9a9;
    	border-right: 1px solid #565;
    	border-top: 1px solid #9a9;
    	font: italic normal 230% 'Times New Roman', Times, serif;
    	letter-spacing: 0.2em;
    	margin: 0;
    	padding: 15px 10px 15px 60px;
    }

    Start adjusting the values in the padding: 15px 10px 15px 60px; section to your liking. The first value is top, the second is right, the third is bottom, and the last is left.

    You’ll probably want to keep the first (top) and third (bottom) values the way they are and start by decreasing the last (left) value and increasing the second (right) value.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Try adding this to your CSS:

    #header h1 { text-align:center; }

    That said, that’s a pretty old, and pretty out of compliance theme. You may want to try something newer.

    Moderator James Huff

    (@macmanx)

    Or, you could just do it Ipstenu’s way. I just like to do things the difficult way because it makes me look smart. ??

    Thread Starter gmc725

    (@gmc725)

    Thank you very much for all the help. I was able to center my blog title, finally, and learned a lot in the process.

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blog Tittle is too long for header – truncates’ is closed to new replies.