1 reply [Last post]
Hubert1957
Offline
newbie
Netherlands
Last seen: 2 weeks 1 day ago
Netherlands
Timezone: GMT+1
Joined: 2017-12-03
Posts: 1
Points: 2

My website: www.deijsmannetjes.de
CMS: Joomla 3

On my website I want to have a small image behind each h1-header. WIth the bottom of the image aligned with teh baseline of the header.
I try this with the following code:

h1::after {
   content: url('images/warptheme/iesmenke-ultrasmall.png'); 
}

Nothing happens. The url of the image is correct: if I use the same URL in an article, it shows the right image.

What am I doing wong?

Kind regards,

Hubert

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 4 hours 34 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9655
Points: 3723

???

I found no instance of h1::after in your css files. I did find two instances of h1:after, but neither addressed your issue.

Please double check that you have actually included the rule and provide us the context; the file it is in and the full ruleset. Be sure that your syntax is correct, as something as simple and as hard to find as a missing semi-colon can render multiple properties non-existent.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.