Tag Archives: Css

Opera: Behave, or I’m going to delete you.

April 26, 2008 by aaron
My Opera install decided to start randomly breaking my website. This is what my website looks like to all the other operas of the world. And this is what it looks like to mine: Um, No. I went through my theme and most of my plugins line-by-line before I figured out that it couldn’t possibly be anything but the browser, so I had to delete what few settings I have in it which fixed it.
Read More ⟶

Displaying WordPress categories in a horizontal dropdown menu.

April 16, 2008 by aaron
One of my readers recently asked how I created my horizontal menu bar: the short answer is by mixing CSS and Javascript. The first step is to get WordPress to display the menu as a hierarchical list without a title. <?php wp_list_categories('sort_column=name&sort_order=asc&style=list&children=true&hierarchical=true&title_li=0'); ?> We then wrap this WordPress code in the following so we can style it. <div style="text-align:center;"> <ul id="menu" style="padding:0; margin:0;"> <?php wp_list_categories(&#039;sort_column=name&sort_order=asc&style=list&children=true&hierarchical=true&title_li=0&#039;); ?> </ul> </div> I added this to my header.php, but you can add it anywhere you want it to appear.
Read More ⟶

Opera: Behave, or I’m going to delete you.

April 26, 2008 by aaron
My Opera install decided to start randomly breaking my website. This is what my website looks like to all the other operas of the world. And this is what it looks like to mine: Um, No. I went through my theme and most of my plugins line-by-line before I figured out that it couldn’t possibly be anything but the browser, so I had to delete what few settings I have in it which fixed it.
Read More ⟶

Displaying WordPress categories in a horizontal dropdown menu.

April 16, 2008 by aaron
One of my readers recently asked how I created my horizontal menu bar: the short answer is by mixing CSS and Javascript. The first step is to get WordPress to display the menu as a hierarchical list without a title. <?php wp_list_categories('sort_column=name&sort_order=asc&style=list&children=true&hierarchical=true&title_li=0'); ?> We then wrap this WordPress code in the following so we can style it. <div style="text-align:center;"> <ul id="menu" style="padding:0; margin:0;"> <?php wp_list_categories(&#039;sort_column=name&sort_order=asc&style=list&children=true&hierarchical=true&title_li=0&#039;); ?> </ul> </div> I added this to my header.php, but you can add it anywhere you want it to appear.
Read More ⟶