Forgot?

How to center an image

Reply Topic
Link to this post 13 Sep 12

I know that it's certainly some CSS problem, yet I would be extremely grateful if you could help me with my tiny obstacle.
http://sjoue.ue.wroc.pl/index.php/kursy-egzaminy.html
That's the address of my webpage and if you take a look at "Jeste?my Preparation Centre" section on the left you will notice that the picture isn't centred and IMHO it would look so much better if it was possible. Please, give me some pieces of advice on what to change to have the content of this box beautifully centred.

Chris

Ps. Great job with Ninja Simple Icon Menu! I find it extremely useful!

Link to this post 18 Sep 12

No one can help me with that? ;(

Link to this post 19 Sep 12

Hi Chris,

Apologies for the delay!

Thanks for the link. Always helpful.

It's a CSS issue that is caused by your Artisteer template.

To fix this, please modify the following code in:

/media/mod_ninja_simple_icon_menu/css/style.css

Search for (around line 6):

.nsi-container li

add !important after the padding definition, like so:

.nsi-container li {
...
...
...
padding: 10px 20px 0 0 !important;
}

This should do the trick.
Let us know how it goes.

Kind regards,
John

Link to this post 23 Sep 12

Works like a charm ;) Thank you very much!

Chris

Link to this post 28 Sep 12

Cheers ;-)

Forums Ninja Simple Icon Menu How to center an image