Keyword

Item View Effected By Inline Style Sheet

  • James Tebb
  • James Tebb's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119754 by James Tebb
Item View Effected By Inline Style Sheet was created by James Tebb
Hi
Im pretty new to K2 but was getting on OK until......

I created a category list and adjusted a few bits of css to style the catItemView. This worked fine. I then adjusted a few settings to hide the intro text in the item view....
but now if I click on an item to view the full article the item body is located way off the top of the page.

I did a quick check with firebug and found that....
a style sheet named - 32 [name of item] #7 has an odd margin setting as shown below

.itemView .itemBody {
float: right;
margin-top: -265px;
position: relative;
right: -10px;
top: 0;
width: 50%

Creating new articles creates similar style sheets with the same error. Where is this style sheet created and how can I solve this problem??

PS my site is currently local only

Please Log in or Create an account to join the conversation.

  • James Tebb
  • James Tebb's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119755 by James Tebb
Replied by James Tebb on topic Re: Item View Effected By Inline Style Sheet
HI
I've re-installed k2 and the problem persists - this suggests that it lies outside of k2.

Please Log in or Create an account to join the conversation.

  • James Tebb
  • James Tebb's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119756 by James Tebb
Replied by James Tebb on topic Re: Item View Effected By Inline Style Sheet
Hi
if anyone has any ideas on this one it would be much appreciated.
If re-installed k2 a few times rebuilding categories etc from scratch and I still get the same issue in item view.

This doesnt happen with articles published outside k2

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #119757 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Item View Effected By Inline Style Sheet
This is related to the template overrides you are using.

This functionality is template specific only and it is not generated by K2. I think you need to ask the template developer about the inline styles and how (or why) they 're generated.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum