Keyword

Can you set padding for introtext in small screens?

  • Daily Deals UK
  • Daily Deals UK's Avatar Topic Author
  • Offline
  • Junior Member
More
7 years 1 month ago #164744 by Daily Deals UK
Hi - My intotext display is wrong in small screens - the first letter goes above the image which is on the left. I firebugged it and if I added 222px padding it went under pic

I tried to add this....

@media screen and (max-width: 400px){
div.catItemIntroText {max-width: 100px; padding: 222px 0 2px 0; }
}

to K2.css but nothing happened. Can someone point me in the right direction please.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164755 by Krikor Boghossian
Replied by Krikor Boghossian on topic Can you set padding for introtext in small screens?
Hello better to add min-width: 100% and clear: both so you force the introtext to start on a separate line.

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

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

  • Daily Deals UK
  • Daily Deals UK's Avatar Topic Author
  • Offline
  • Junior Member
More
7 years 1 month ago #164760 by Daily Deals UK
Replied by Daily Deals UK on topic Can you set padding for introtext in small screens?
Perfect, that's what I was looking for.

Thank you so much (again)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 1 month ago #164789 by Krikor Boghossian
Replied by Krikor Boghossian on topic Can you set padding for introtext in small screens?
You 're welcome :) :)

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

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


Powered by Kunena Forum