Keyword

Item text appears ABOVE title?!

  • Mathias
  • Mathias's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #115896 by Mathias
Item text appears ABOVE title?! was created by Mathias
Hi!

I have a problem when creating an item/article. When I hide the creation date & time for an item, the first few words of the article appear next to the item title. Though this doesn't happen when the date is visible at the left side of the title.

Is there any way to fix this problem? Having multiple <p> at the start doesn't help, as the first word then appears at the end of the line.

Thanks!
Attachments:

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #115897 by Yiota
Replied by Yiota on topic Re: Item text appears next to title?!
This is probably because the title has a float:left and custom width.
You can put a clear element right after the itemHeader.

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

  • Mathias
  • Mathias's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115898 by Mathias
Replied by Mathias on topic Re: Item text appears next to title?!
Would that be in....

/templates/(template)/css ?

And like this?

.catItemHeader .catItemAuthor {
float: left;
clear: both;

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 2 months ago #115899 by Yiota
Replied by Yiota on topic Re: Item text appears next to title?!
If you could provide me with a link to that page I could tell you exactly what you need to modify and where.

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

  • Mathias
  • Mathias's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115900 by Mathias
Replied by Mathias on topic Re: Item text appears next to title?!

Yiota Ziaggou wrote: If you could provide me with a link to that page I could tell you exactly what you need to modify and where.



It appears on this page.

And a similar, yet bit different happens on the following page (the last few words of the title appear above the title)

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

More
11 years 2 months ago #115901 by BBC
Replied by BBC on topic Re: Item text appears next to title?!
This template has override for K2.

Put your .itemToolbar as 100% width, or more near 100%. Now it is 90% and allowing body text to get up there.

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

More
11 years 2 months ago - 11 years 2 months ago #115902 by jonny jackson
Replied by jonny jackson on topic Re: Item text appears next to title?!
add simply a "cleafix" after the ItemHeader... it's easy

in K2 php files you have a div like this
<div class="clr"></div>

try to add this div after your ItemHeader or create you own seperater div or (css) class

here is a tutorial for cleafix : css-tricks.com/snippets/css/clear-fix/

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

  • Mathias
  • Mathias's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115903 by Mathias
Replied by Mathias on topic Re: Item text appears next to title?!

BBC wrote: This template has override for K2.

Put your .itemToolbar as 100% width, or more near 100%. Now it is 90% and allowing body text to get up there.


Thank you! That worked for the first problem.

And what about the repeat of the last few words of the title above the title on this page ?

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

More
11 years 2 months ago - 11 years 2 months ago #115904 by jonny jackson
Replied by jonny jackson on topic Re: Item text appears next to title?!
that is not repeat of the title :P

this is because of your breadcrumbs: it has 80% width; try to make it 100% or make a smaller fontsize for breadcrumbs.. in this case you have some place for your font-sizer:

Try this:

Add in css file line 552

....../templates/gk_musicity/css/template.css - Line 552

#gkBreadcrumb .breadcrumbs {
    float: left;
    font-size: 10px;
    width: 90%;
}


you can simply use Firebug Extension for Firefox to debug your website. It is very easy to use and you can easily solve this kind of problems by yourself.

cheers

JJ

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

  • Mathias
  • Mathias's Avatar Topic Author
  • Offline
  • New Member
More
11 years 2 months ago #115905 by Mathias
Replied by Mathias on topic Re: Item text appears next to title?!
Thnx! What I'm getting when we DO have the date next to the article title is this now..... first part of the text, ABOVE the title..

Is it fixed the same way as described earlier?
Attachments:

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


Powered by Kunena Forum