TOPIC: Can you set padding for introtext in small screens?

Can you set padding for introtext in small screens? 1 month 6 days ago #164744

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.
  • Krikor
  • Krikor's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 14760

Can you set padding for introtext in small screens? 1 month 6 days ago #164755

Hello better to add min-width: 100% and clear: both so you force the introtext to start on a separate line.
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Can you set padding for introtext in small screens? 1 month 5 days ago #164760

Perfect, that's what I was looking for.

Thank you so much (again)
  • Krikor
  • Krikor's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 14760

Can you set padding for introtext in small screens? 1 month 4 days ago #164789

You 're welcome :) :)
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
Moderators: william white

Who Is Online

Total users online: 9 Members and 4295 Guests Online
Alex Walker Alexandre Max Rob L Robert j Wall choowong djsmooth5 pet william white
Legend ::   Site Administrator Global Moderator Moderator Banned User Guest
  • Total Messages: 138539 | Total Subjects: 36480
  • Total Sections: 6 | Total Categories: 32
  • Today Open: 0 | Yesterday Open: 8
  • Today Total Answer: 7 | Yesterday Total Answer: 26
Powered by Kunena Forum