Keyword

padding around pictures

  • Bart Coenen
  • Bart Coenen's Avatar Topic Author
  • Visitor
9 years 5 months ago #139814 by Bart Coenen
padding around pictures was created by Bart Coenen
Hi,
I'm using Takai. Sometimes there's automatically padding around pictures and sometimes there isn't. I don't know what's causing this. For example there's this page: backcover.be/boeken. On the left there's this article about a book where the bookcover shows no padding. On the item at the right there is padding (and I want this view). How can I make sure there's padding around all the pictures?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #139815 by Lefteris
Replied by Lefteris on topic padding around pictures
Hi. Try to comment out line 473 from file k2.css of your template.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Bart Coenen
  • Bart Coenen's Avatar Topic Author
  • Visitor
9 years 5 months ago #139816 by Bart Coenen
Replied by Bart Coenen on topic padding around pictures
Thanks, but this does not change anything. Do you have other ideas?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #139817 by Lefteris
Replied by Lefteris on topic padding around pictures
You didn't comment out the line. I still can see the code in backcover.be/templates/takai/css/k2.css .

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Bart Coenen
  • Bart Coenen's Avatar Topic Author
  • Visitor
9 years 5 months ago #139818 by Bart Coenen
Replied by Bart Coenen on topic padding around pictures
I undid it because it didn't change the problem. I deleted the entire line 473 now so you can see the effect (none).

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #139819 by Lefteris
Replied by Lefteris on topic padding around pictures
Yes because there is a new rule on line 474 of k2.css setting the margin to zero:
.groupPrimary .catItemImageBlock {
    margin-right: 0px;
}

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Bart Coenen
  • Bart Coenen's Avatar Topic Author
  • Visitor
9 years 5 months ago #139820 by Bart Coenen
Replied by Bart Coenen on topic padding around pictures
Okay, thanks. I have set this to 1px. It seems to have doubled the padding on the other (right) item (which already had padding), but I can live with that.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum