Im trying to center the created date (CatItemDateCreated) above my categori items listings.
I found where it is in k2.css, but i cant figure out how to center the date.
(I guess its done in k2.css and not in category_item.php)
This is what it says in k2.css:
div.catItemHeader span.catItemDateCreated {color:#999;font-size:11px}
So I was thinking I could change to this:
div.catItemHeader span.catItemDateCreated {color:#999;font-size:11px;text-align:center;}
But nothing happens. I also tried using float, but I guess this is for objects.
As you probalby can see, im a beginner in CSS, but I really try to fix it for myself, to learn it.
This time I've used aprox. 2 hours try to figure this out, but I can't solve this by myself.
Can anyone give me a hand here?
Sincerely,
Martin
I found where it is in k2.css, but i cant figure out how to center the date.
(I guess its done in k2.css and not in category_item.php)
This is what it says in k2.css:
div.catItemHeader span.catItemDateCreated {color:#999;font-size:11px}
So I was thinking I could change to this:
div.catItemHeader span.catItemDateCreated {color:#999;font-size:11px;text-align:center;}
But nothing happens. I also tried using float, but I guess this is for objects.
As you probalby can see, im a beginner in CSS, but I really try to fix it for myself, to learn it.
This time I've used aprox. 2 hours try to figure this out, but I can't solve this by myself.
Can anyone give me a hand here?
Sincerely,
Martin