- Posts: 47
COMMUNITY FORUM
Same high text blocks
- lukass2000
- Topic Author
- Offline
- Senior Member
Less
More
14 years 2 months ago #85920
by lukass2000
Replied by lukass2000 on topic Same high text blocks
Hi!
I just test if I am back from work at home :)
Could there also to every post put a frame?
Then everything would be perfect
THANK YOU!
I just test if I am back from work at home :)
Could there also to every post put a frame?
Then everything would be perfect
THANK YOU!
Please Log in or Create an account to join the conversation.
- lukass2000
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 47
14 years 1 month ago #85921
by lukass2000
Replied by lukass2000 on topic Same high text blocks
Hi Olivier!
Have now added the following
border:1px solid #ddd;
Now I get a border around each aktikel,
but it did nothing displays in two columns.
Everything is shown in a flat.
If I take away the frame, it is back together.
What can I do?
Thank you :)
Have now added the following
border:1px solid #ddd;
Now I get a border around each aktikel,
but it did nothing displays in two columns.
Everything is shown in a flat.
If I take away the frame, it is back together.
What can I do?
Thank you :)
Please Log in or Create an account to join the conversation.
- Simon Wells
- Offline
- Platinum Member
Less
More
- Posts: 955
14 years 1 month ago #85922
by Simon Wells
Replied by Simon Wells on topic Same high text blocks
Hi Jose,
Just to expand on Oliviers great support.
You might want to consider creating a k2 template over ride instead of modifying the main k2 css file. That way, if you upgrade K2 later, you would loose your changes.
Details of setting up a K2 template can be found in the guides on simon.getk2.org.
You say you added that border css, but what did you add it to and which part do you need to have a border on?
I would like to suggest that if you are using FireFox, you get the add on called FireBug, as it will all you to inspect the page and see any css element, which will help identify it and which file to modify.
Simon
K2 Support
Just to expand on Oliviers great support.
You might want to consider creating a k2 template over ride instead of modifying the main k2 css file. That way, if you upgrade K2 later, you would loose your changes.
Details of setting up a K2 template can be found in the guides on simon.getk2.org.
You say you added that border css, but what did you add it to and which part do you need to have a border on?
I would like to suggest that if you are using FireFox, you get the add on called FireBug, as it will all you to inspect the page and see any css element, which will help identify it and which file to modify.
Simon
K2 Support
Please Log in or Create an account to join the conversation.
- Jiliko.net
- Offline
- Platinum Member
Less
More
- Posts: 567
14 years 1 month ago #85923
by Jiliko.net
Replied by Jiliko.net on topic Same high text blocks
Jose,
Adding border increases catItem block width,that's why, i think, you now have only 1 column.
You have to play with margin, padding and width to go back to 2 columns.
Olivier
Adding border increases catItem block width,that's why, i think, you now have only 1 column.
You have to play with margin, padding and width to go back to 2 columns.
Olivier
Please Log in or Create an account to join the conversation.
- lukass2000
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 47
14 years 1 month ago #85924
by lukass2000
Replied by lukass2000 on topic Same high text blocks
Hi Simon!
The "problem" with tehe update i understand ;)
Can you tell me what I must change at the template (which in what php-file), so I like the presentation in the screenshot above get?
THANK YOU!
The "problem" with tehe update i understand ;)
Can you tell me what I must change at the template (which in what php-file), so I like the presentation in the screenshot above get?
THANK YOU!
Please Log in or Create an account to join the conversation.
- lukass2000
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 47
14 years 1 month ago #85925
by lukass2000
Replied by lukass2000 on topic Same high text blocks
I have now two templates/folder created after the description
community.getk2.org/notes/Templating_in_K2
I named the folder test an blog.
Under categories i see the templates,
but no matter what I select, it changes nothing.
According to the documentation at BLOG change something, or???
Should not the k2.css file copied to the new folder?
THANKS!
community.getk2.org/notes/Templating_in_K2
I named the folder test an blog.
Under categories i see the templates,
but no matter what I select, it changes nothing.
According to the documentation at BLOG change something, or???
Should not the k2.css file copied to the new folder?
THANKS!
Please Log in or Create an account to join the conversation.
- coolweb
- Offline
- New Member
Less
More
- Posts: 5
13 years 9 months ago #85926
by coolweb
Replied by coolweb on topic Same high text blocks
is there a way to do this automatically, i mean something like this
if word > 20
show read more
close div
if word > 20
show read more
close div
Please Log in or Create an account to join the conversation.