Welcome to Geeklog, Anonymous Friday, April 19 2024 @ 10:13 pm EDT

Geeklog Forums

Display problem when inserting album in story


Joe

Anonymous
Hi all Wink

I have a little problem since i updated geeklog to version 1.4.1. When i want to insert an album into a story it doesnt display it correctly. It doesnt make a break line and if the album is at the end of a story, the next story starts not under the album but on the right. It is not so esthetic.
Do you know what is that issue?
Kind regards,

Joe
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Joe,

What I've done to fix this is to insert a clear floats div into the theme files.

Edit your theme file storytext.thtml and add:
Text Formatted Code

    <div style="clear:both;"></div>
 

Immediately before
Text Formatted Code

    <div class="story-footer">
 


You will want to do the same edit to featuredstorytext.thtml too.

Basically what is happening is that the auto tag is creating a <div> with a float: right or left, when the story footer is called with the <div class="story-footer">, the float is still in effect, so it doesn't force the footer below the auto tag, causing the overflow.

By placing the clear before the footer, it tells the browser to no longer try to wrap things which solves the problem.

Let me know if this helps!

Thanks!
mark
 Quote

Joe

Anonymous
happy
Hi Mevans,

Many thanks for your help! Wink
I applied your fix and it works well!
Kind regards,

Joe
 Quote

All times are EDT. The time is now 10:13 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content