Ahimsa for WordPress FAQ
January 5th, 2010 by ravi

Certain questions appear with a predictable frequency from those of you who have found Ahimsa for WordPress worthwhile, so here is a FAQ that hopes to answer them in one place.

How do I add an image / photo to the header?
See this post.
How do I make my blog title (left column of header) not wrap text making the header taller than it needs to be?
The way to avoid this is to prevent the text wrap by making the spaces between words non-breaking in some way. One way is to edit your blog title (in the settings page) and replace spaces in it with   which is the HTML way of saying “give me a non-breakable space”. Another way is to style it by creating a custom.css file in your Ahimsa theme directory and entering in it:


#title
{
    white-space: nowrap;
}


8 Responses  
  • Dave Weinberg writes:
    February 20th, 2010 at 10:45 pm

    greetings-

    so sorry to bother you with this one – I’ve tried to trouble shoot for awhile and I’m just not quite cracking the code or css or whatever… I am trying to get that little yellow vertical rule thingy to shift to the right on the header for http://sfiaudio.com/ – notice that SFI Audio is wrapping to two lines. I’d like it on one line but for what ever reason this combo of words is wrapping. can’t figure it out…

    I was able to make it work in this other site by following the FAQ instructions and inserting a graphic http://shortfusecentral.com/new/ but cannot get it to work with just text.

    CAn you help?

    much obliged and thx-
    -d.

  • Ahren Code» Blog Archive » Shortcodes in Ahimsa for WordPress writes:
    June 1st, 2010 at 2:55 pm

    [...] to each question is revealed below when the reader clicks on the question. For an example, see the Ahimsa FAQ page. Questions and answers are added using the FAQinWay shortcode thus: [faqinway] This is [...]

  • Rick Z writes:
    July 1st, 2010 at 2:25 pm

    Experimenting with Ahimsa 3.2 …

    How can I make the right sidebar wider?
    It’s a bit too narrow. Double the default with would be much better.

    I have looked at the CSS, but can’t work out what the edits should be (guesing more than one row).

    tia :-)

    • ravi writes:
      July 1st, 2010 at 2:54 pm

      Rick, the CSS is not there because there is no set size for the sidebar(s) ;-). They expand to take up as much space as is left over after the main content section takes the space it needs. To force the sidebar(s) to a particular size or %, edit custom.css (Dashboard->Appearance->Editor is one way) and add:


      .sidebar
      {
      width: 300px;
      width: 20%;
      /* or some such */
      }

      Hope that helps!

  • lunenburg writes:
    July 13th, 2010 at 11:55 pm

    Hi, Ravi,

    I have to bother you with one question. Right now, the title and the tagline/description are displayed in the same line. How to make the description appear on the second line instead of immediately following the title?

    many thanks!

    • ravi writes:
      July 21st, 2010 at 11:24 pm

      Hello lunenburg, to achieve that you will need to edit the HTML in header.php. If you are up for it, let me know, and I can give you some detailed instructions.

  • lunenburg writes:
    July 21st, 2010 at 11:37 pm

    yes, I want to make the change. Any advice from you would be great!

    • ravi writes:
      August 31st, 2010 at 5:41 pm

      lunenberg,

      apologies for the late response. To move the tagline/description down to a second line, you should edit header.php, in particular the section below:

      <a href="/">

      and change it to something like this:

      <a href="/">

      This might not render exactly as you want, but if you want to give it a shot and share a URL with me, I can help you fine tune it.


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »  Style:Ahren Ahimsa