- Posts: 12
COMMUNITY FORUM
Article-Images suddenly without css-Styling
- Merten Giesen
- Topic Author
- Offline
- New Member
Less
More
9 years 10 months ago #133634
by Merten Giesen
Article-Images suddenly without css-Styling was created by Merten Giesen
Hello,
i tried to figure this Problem out in the german community, but they pointed me to this community, for former help.
Problem: Since a few days the article-images dont look like they did before, the White Frame is gone, the Images are now shown at the left side and so on. At first i thought, that there is something wrong with the k2.css, but it isnt, the tag span.itemImage img {border:1px solid #ccc;padding:8px;}, which should Show the described design is there on line 190. When i use Firebug on my articles, it doesnt Point to this row, it just Point to the row img.
Example: ernst-reuter-schule1.de/index.php/aktuelles/nachrichten
Its quiet mysterious, because if i want to Change the font of the Header text, it works like before, bute to Change the with firebug pointed out row for the img it doesn have any effect.
Iam not using any overrides for k2 in the template. And i have already installed the k2_dev_build.
Have you any idea, how to fix it?
i tried to figure this Problem out in the german community, but they pointed me to this community, for former help.
Problem: Since a few days the article-images dont look like they did before, the White Frame is gone, the Images are now shown at the left side and so on. At first i thought, that there is something wrong with the k2.css, but it isnt, the tag span.itemImage img {border:1px solid #ccc;padding:8px;}, which should Show the described design is there on line 190. When i use Firebug on my articles, it doesnt Point to this row, it just Point to the row img.
Example: ernst-reuter-schule1.de/index.php/aktuelles/nachrichten
Its quiet mysterious, because if i want to Change the font of the Header text, it works like before, bute to Change the with firebug pointed out row for the img it doesn have any effect.
Iam not using any overrides for k2 in the template. And i have already installed the k2_dev_build.
Have you any idea, how to fix it?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #133635
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Article-Images suddenly without css-Styling
This is a template issue.
You changed the <div class="itemImageBlock"> ..
into <div class="itemBildBlock"> in your item.php file.
You need to revert these changes.
You changed the <div class="itemImageBlock"> ..
into <div class="itemBildBlock"> in your item.php file.
You need to revert these changes.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Merten Giesen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
9 years 10 months ago #133636
by Merten Giesen
Replied by Merten Giesen on topic Re: Article-Images suddenly without css-Styling
Hey, thanks for reply.
I lokked up components/com_k2/templates/Default/item.php but there is no itemBildBlock, only the told itemimageBlock.
Where can i find the called itemp.php?
I lokked up components/com_k2/templates/Default/item.php but there is no itemBildBlock, only the told itemimageBlock.
Where can i find the called itemp.php?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #133637
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Article-Images suddenly without css-Styling
This post will help you locate the files you need to edit.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Merten Giesen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
9 years 10 months ago #133638
by Merten Giesen
Replied by Merten Giesen on topic Re: Article-Images suddenly without css-Styling
Did I miss anything? What are you talking about?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #133639
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Article-Images suddenly without css-Styling
Nope I missed a spot.
Sorry about that.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
Sorry about that.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Merten Giesen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
9 years 10 months ago #133640
by Merten Giesen
Replied by Merten Giesen on topic Re: Article-Images suddenly without css-Styling
Iam running 5 templates on my side, non of them has this MYTEMPLATE/html/com_k2/templates/item.php file , even the com_k2 Folder as template override doenst exist anywhere (only com_jevents and com_wrapper).
In the original components/com_k2/templates/Default/item.php file the itemBildBlock doesnt exist.
Any other idea?
In the original components/com_k2/templates/Default/item.php file the itemBildBlock doesnt exist.
Any other idea?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #133833
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Article-Images suddenly without css-Styling
Also check the category_item.php and the tag.php, user.php and generic.php.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.