Forums

Sidebar customization (6 posts)

  1. linkman2004
    Member
    Posted 3 years ago #

    Hey all. Well I finally got wordpress installed on my hosting but now I'm working on customizing the look. I was wondering if there is anyway to make the name of a section a picture. Like say I want to change the text "Meta" to a picture instead, that way I have a picture that says "Meta". That way I have my picture above all the links in the "Meta" section. If that's confusing I'll try to explain a little better. See ya.

  2. devilmaycry
    Member
    Posted 3 years ago #

    It's certainly possible, although I'm unsure if you can actually do this through the Admin CP. The only way I know how to do this is by manually adding the HTML code into your sidebar.php. Something like this:

    [li]
    [img src="domain.com/category-header.jpeg" /]
    [ul]
    [li]Content goes here...[/li]
    [/ul]
    [/li]

    (Obviously replace the "[ ]" with the appropriate "< >" characters).

    But if you're familar with HTML then you shouldn't have a problem.

  3. digidiva-kathy
    Member
    Posted 3 years ago #

    Would this put the same image over every link category? Any way to make an image for each different category?

  4. saucypony
    Member
    Posted 3 years ago #

    I'm trying to figure this out as well. It's not too difficult to modify the sidebar.php file and add images above the 'meta' and 'archives' categories, but when you add some custom categories, the format of the sidebar.php code changes and calls <?php get_links_list(); ?>, which leaves nowhere to place the image links. God that's confusing, but I hope someone can help us out!

  5. Haecceity
    Member
    Posted 3 years ago #

    I can't imagine this would be hard. On one of my sites I changed all the headings, so instead of "pages" it says "Pages about..." and instead of "Categories" it says "Posts arranged by category".

    Just look (mainly towards the bottom) in sidebar.php. The stuff you want to change is between <h2> </h2> tags. You'll need to replace those headings (including the tags themselves) with the code for the images. Remember to include alt attributes for people with visual handicaps.

  6. saucypony
    Member
    Posted 3 years ago #

    Whew, it's pretty tough to search this forum sometimes haha... After quite a bit of searching I found that each of the categories have styles associated with them, so it's not terribly difficult css to add in an image. Here's the post I found.

    http://wordpress.org/support/topic/41991?replies=2

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags