Category Blog: Article Read more brakes layout

More
8 years 8 months ago #45564 by underground1
Hi,

I have a layout of 3 columns (left | content | right). I am trying to display a category blog. If I insert a "Read more" sepparator in an article, column "right" gets pushed at the very bottom. If Read more is not inserted in an article, the page properly displays 3 columns. It would seem that in the case where "Read more" is inserted, div "cell mp_right span3" is placed inside div "content_sparky span6" instead of just underneath it.

( kreatikgroup.si/ffger/sl/obvestila vs. kreatikgroup.si/ffger/sl/predstavitev/vodstvo

Thank you for your advice on the matter.

UG1

Please Log in to join the conversation.

More
8 years 8 months ago #45565 by underground1
I would also like to have a category displayed in an article blog (next to the author) but the template doesn't seem to have that option. Is there a php line I could add to the blog_item.php?

Thanks.
Best regards,

UG1

Please Log in to join the conversation.

More
8 years 8 months ago #45568 by ivan.milic
Yes, you can put this:

<?php echo $this->item->category_title; ?>

after line 47 and line 49 of blog_item.php (if you haven't changed it before).

When you turn off read more button and page is still of type category blog, is content of right cell pushed down?
The following user(s) said Thank You: underground1

Please Log in to join the conversation.

More
8 years 8 months ago #45572 by underground1
No, when I remove (delete) the Read mode line in an article, the content is placed correctly in the third column.

live examples of same blog layouts, only that one article in the first category has a Read more sepparator.

kreatikgroup.si/ffger/sl/obvestila
kreatikgroup.si/ffger/sl/obvestila-no-readmore

Please Log in to join the conversation.

More
8 years 8 months ago #45574 by ivan.milic
Ok, but how you "delete" read more button? Did you delete code of php or you set that option on article and menu item layout settings?

Please Log in to join the conversation.

More
8 years 8 months ago #45575 by underground1
Sory for not being specific enough ...

I have set the option Show Read more button in the menu settings. What I am refering to (with "delete the Read more sepparator") is the "Insert Read more" option that you have when writing an article - a "Read more sepparator" inide an article that defines where the article should split (and consequently add the Read more button for the rest of the article). I am not altering any php file here.

If the article has this sepparator, the layout brakes.
If there is no such sepparator in the article content, the layout stays ok.

If I am still not clear enough, I appologise - let me know and I'll provide screenshots.

Please Log in to join the conversation.

Time to create page: 0.300 seconds
Powered by Kunena Forum