- Posts: 65
COMMUNITY FORUM
image in Item view
- Alan
-
Topic Author
- Offline
- Senior Member
Less
More
10 years 10 months ago - 10 years 10 months ago #129022
by Alan
image in Item view was created by Alan
Hi all
The content image article is center now. But I want align it to the right. in the left display the news.
kindly open the attachment for more information
The content image article is center now. But I want align it to the right. in the left display the news.
kindly open the attachment for more information
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 10 months ago #129023
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: image in Item view
Hi. This is something that has to do with your template. You need to either hire a developer to do it or apply it on your own. What you will need in order to do it on your own is:
1. Read getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn about K2 template overrides.
2. CSS knowledge. You can read developer.mozilla.org/en-US/docs/Web/CSS/float to learn how you can float HTML elements using CSS.
1. Read getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates to learn about K2 template overrides.
2. CSS knowledge. You can read developer.mozilla.org/en-US/docs/Web/CSS/float to learn how you can float HTML elements using CSS.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alan
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 65
10 years 10 months ago #129024
by Alan
Replied by Alan on topic Re: image in Item view
thank you
I solved this problem by adding float: right to: div.itemImageBlock in k2.css
thank you
I solved this problem by adding float: right to: div.itemImageBlock in k2.css
thank you
Please Log in or Create an account to join the conversation.
- Daniel Elidio
-
- Offline
- New Member
Less
More
- Posts: 3
10 years 10 months ago #129025
by Daniel Elidio
Replied by Daniel Elidio on topic Re: image in Item view
I think that how is said above, a good Idea is create a sub-template for it, It's easy, and work as template Override of Joomla.
Doing this way, is useful because you can create a custom page for each section in your website.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Bye!
Doing this way, is useful because you can create a custom page for each section in your website.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Bye!
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 10 months ago #129026
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: image in Item view
@Alan
Yoy are welcome.
@Daniel Elidio
Yes, that's the recommended way to change K2 markup.
Yoy are welcome.
@Daniel Elidio
Yes, that's the recommended way to change K2 markup.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.