- Posts: 9
COMMUNITY FORUM
How to make images responsive in K2 item for mobile
- Donald Harvey
-
Topic Author
- Offline
- New Member
Less
More
8 years 6 months ago #158500
by Donald Harvey
How to make images responsive in K2 item for mobile was created by Donald Harvey
Hi,
I'm trying to make the images i have in a item responsive for mobile viewing but can't work out how to do this does anyone know if it can be done or not??
Thanks
Donald
I'm trying to make the images i have in a item responsive for mobile viewing but can't work out how to do this does anyone know if it can be done or not??
Thanks
Donald
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 6 months ago #158508
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic How to make images responsive in K2 item for mobile
Hello Donald,
Are you talking about max width or srcset?
Are you talking about max width or srcset?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Donald Harvey
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
8 years 6 months ago #158511
by Donald Harvey
Replied by Donald Harvey on topic How to make images responsive in K2 item for mobile
Hi Krikor,
Yeah the max width but only on mobile view, but on desktop view i want it to remain the normal size for desktop.
I'm not sure what srcset means
Donald
Yeah the max width but only on mobile view, but on desktop view i want it to remain the normal size for desktop.
I'm not sure what srcset means
Donald
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 6 months ago #158516
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic How to make images responsive in K2 item for mobile
You can use a value like
img {
max-width: 100%;
}
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Donald Harvey
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
8 years 6 months ago #158518
by Donald Harvey
Replied by Donald Harvey on topic How to make images responsive in K2 item for mobile
Hi Krikor,
Yeah would i put that code, would i put it into the item.php file.
Donald
Yeah would i put that code, would i put it into the item.php file.
Donald
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 6 months ago #158522
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic How to make images responsive in K2 item for mobile
It's CSS code, you need to put it in your template's stylesheet.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Donald Harvey
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
8 years 6 months ago #158523
by Donald Harvey
Replied by Donald Harvey on topic How to make images responsive in K2 item for mobile
Thankyou Krikor
Solved!!
Solved!!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
8 years 6 months ago #158527
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic How to make images responsive in K2 item for mobile
You 're welcome Donald.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.