CherryDesign: Image in K2 Item

GK User
Thu Sep 16, 2010 1:47 pm
Hi,
In K2 article, how can I do to put on the left or on the right an image??
It's always on the center and I don't how to do...

can you help me?
thank you
User avatar
Junior Boarder

GK User
Thu Oct 07, 2010 7:22 pm
Hi:
In the k2.css

div.catItemImageBlock

put in :
{float:left;}
User avatar
Junior Boarder

GK User
Sun Jan 02, 2011 11:49 pm
Hi I try to change to left. Should I just write like this:
div.catItemImageBlock {padding:0px;margin:0 0 16px 0;float:left;}

or just like this:
div.catItemImageBlock {float:left;}

Example here:
http://www.leemedia.se/JOOMLA/index.php ... Itemid=103

Thanx...
User avatar
Fresh Boarder

teitbite
Tue Jan 04, 2011 2:16 am
Hi

It depends which version look better for You :) Try both and decide.
User avatar
Moderator

GK User
Tue Jan 04, 2011 8:26 am
Thats true! But nothing happen when I change the K2.css :(

Here you see:

http://www.leemedia.se/JOOMLA/index.php ... Itemid=103

The big picture over the text is centerd and not in line with the text...?

I change k2.css in: templates/gk_cherrydesign/css...It's the right k2.css? there is one in components/com_k2/css/
But I guess it's not the one?

Cheers
User avatar
Fresh Boarder

teitbite
Wed Jan 05, 2011 5:29 pm
Hi

Please show me an exact place, because I'm not sure if we are thinking about the same thing.
User avatar
Moderator

GK User
Wed Jan 05, 2011 11:36 pm
Ok, well if you look at the pic you will know what I mean. Can't attach so check this link:
http://www.leemedia.se/Hemsida_left_align.jpg


Cheers
User avatar
Fresh Boarder

teitbite
Thu Jan 06, 2011 11:07 pm
Hi

Please use that code:

Code: Select all
span.itemImage {
    text-align: left;
}
User avatar
Moderator

GK User
Thu Jan 06, 2011 11:30 pm
That works!!!

BIG THANK YOU...:)

Dono if you can and want to help me with my other topic. I would be VERY happy. Trying to get it to work!

http://www.gavick.com/forum/93-cherryde ... -show.html

Peace bro!!
User avatar
Fresh Boarder

teitbite
Sat Jan 08, 2011 2:13 am
Hi

Ok. I'll take a look.
User avatar
Moderator

GK User
Sun Jan 09, 2011 10:58 pm
Hi, I found a way to show my vimeo video in use the pictures linked to homepage. So the question about showing vimeo movie in images show is solved. BUT I got problem with my video not align al the way to the left. Please look into my two pics then you will see. Something with <P> and then {vimeo} code ? Use allvideo plugin...

http://www.leemedia.se/code_align_left.png

http://www.leemedia.se/align_problem.jpg

The best way is if I could juse the K2 video tab in the iteam. But then Im getting a ugly black box around and it's position gets under the iteam text. Do you know how to fix that? I want to use the video tag in K2 iteam becuse then I can hide the video in categories page. That will not work if you place {vimeo}432425{/vimeo} for example
See picture:
http://www.leemedia.se/moveup_video.jpg


A will buy you and your wife dinner if you can find this out...:) :)

Link to my page
http://www.leemedia.se/JOOMLA/index.php ... Itemid=103
User avatar
Fresh Boarder

GK User
Sun Jan 09, 2011 11:00 pm
[attachment]align_problem.jpg[/attachment]
User avatar
Fresh Boarder

teitbite
Wed Jan 12, 2011 2:10 am
zimmes wrote:The best way is if I could juse the K2 video tab in the iteam. But then Im getting a ugly black box around and it's position gets under the iteam text.


Hi

Please show me that on Your site. I'll see if I can change the style for it.
User avatar
Moderator

GK User
Wed Jan 12, 2011 9:23 am
User avatar
Fresh Boarder

teitbite
Thu Jan 13, 2011 5:43 pm
Hi

We have disscussed this problem via tickets also and I've read that what I suggested partially worked. Try maby this code instead of the previously given.

Code: Select all
#gk-right span.avPlayerContainer,
.catItemIntroText span.avPlayerContainer {
display: none;
}


But I have no idea how to hide the {vimeo}{/vimeo} code from News Show Pro module. Try maby if enabling the option "Clear (X)HTML" will help. If not than I would suggest to use this code after the selected number of words to show in the module.
User avatar
Moderator

GK User
Thu Jan 13, 2011 6:20 pm
Hi, I Will try this.
As I understand News Pro render {vimeo}{/vimeo} as text.
And K2 dasent see this tag as video so there is now way that you can turn of category list setting. BUT if I can skip jusing {vimeo}{/vimeo} and istead juse K2's video tab in item I can turn it of in K2's cattegorie setting. My ONLY problem is then that I want to have the video under the heading as shown in my picture. Video to the left in line with text and without the black box and the text Related video. Please give me an solution to that. What CSS to change? In the end it's CherryDesign template that is giving me the blackbox around and the position under the text right?

I would be so happy if you can come up with this solution. Been struggling with this video issue for weeks now...

Cheers
User avatar
Fresh Boarder

teitbite
Fri Jan 14, 2011 9:16 pm
Hi

I have another idea. Please edit file /templates/gk_cherrydesign/html/com_k2/default/item.php. In this file You should be able to change the order of items and it's possible to place video on top of the page :)

But I would need FTP to try to make it.
User avatar
Moderator

GK User
Fri Jan 14, 2011 10:45 pm
Hi, I sent you an mail to your gmail...

Thanx for you help :):)

Cheers
Simon
User avatar
Fresh Boarder

teitbite
Sun Jan 16, 2011 2:47 am
Hi

Just for the information to anyone who read this thread. The change in the item.php file solved it.
User avatar
Moderator


cron