?

Log in

No account? Create an account

Previous Entry | Next Entry

Entry Title Images Suddenly Appearing

  • May. 18th, 2007 at 12:07 PM
The latest code push made a slight change to the structure of entry titles. This change enabled entry title images on some themes that had been missing them before. I haven't checked to see how many themes might have been affected, but if you're now seeing little images next to the entry headings when you weren't before, that is why. The change may also affect custom CSS applied to the entry or sticky post titles.

(If you have a custom print_entry() function, nothing will have changed.)

The fix contained in this post should still work for most themes, i.e. those that put the post ornament in .asset-header{}. Some of the "newer" themes, including some of the Expressive Seasonal themes, put the ornament in .asset-header-content{}, another HTML child element in the post title. Use this CSS to remove the image:
.asset-stream .asset-header-content {
    background-image: none;
}
Or, you can specify your own image:
.asset-stream .asset-header-content {
    background-image: url(PATH TO YOUR IMAGE);
}

Comments

( 2 comments — Leave a comment )
lollobrigida
Nov. 30th, 2007 11:16 pm (UTC)
Heya! Once more I have quirky question to ask!

So I've removed one of these little images using this code, but it still has that slight gap from where the image "should" be and where the subject starts. Is there anyway to get the subject line to bump back to where it belongs?
av8rmike
Dec. 1st, 2007 05:58 am (UTC)
It can vary from theme to theme, but most of them that have a post ornament have a line like this:
padding: 0 0 0 20px;
which adds 20 pixels of padding to the left. You could change it that way, with the 4 numbers, or with:
padding-left: xxpx;</code>
( 2 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars