Support » Requests and Feedback » Can someone please add a <div class=”sidetitle”>

  • I already modified my code locally, but I dont want to have to do it every version. I am looking for basically all the titles on a menu to have a <div> container around them that lets me do things like give them a border-bottom etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mark (podz)


    Support Maven

    In your css:
    .sidetitle {
    border-top: 2px solid;
    border-bottom: 2px solid;
    background-color: #ff0000;
    In your template (index.php):
    <li id="archives"><div class="sidetitle"><?php _e('Archives:'); ?></div>
    You should be able to see enough there to start playing with the css.
    What I’ve not yet figured out is how to make it work with Link Category headings as they are controlled by the Link Manager.

    What I mean those is anything with a “title” type heading on the menu. So each of my link category titles, the actual category titles, the “Search:”, the “Archives”, the calender title (“may 2004” right now), “Other:” and “Meta:” should all be incased in the same tag of some sort.

    Yes, they probably/likely should, for more semantic meaning.
    However, index.php is meant to be modified to suit your needs. Tweak it to your liking; don’t depend upon tags/wrappering being inserted in all cases, or in the way that you want them…
    Just as an example, to do super-cool sidebar backgrounds, with the 4-way ‘sliding doors’ method, I needed to add three or four extra divs/spans to wrapper around each sideblock. I just wrote a start/end sideblock function for myself, which makes it easy to modify, and easy to adapt changes in index.php if there are ‘good’ core changes that do occur.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can someone please add a <div class=”sidetitle”>’ is closed to new replies.