• Resolved Lenny Cohen

    (@feedbaylenny)


    Hi! I wish I knew how to show you a screengrab of what I’m referring to, but it’s on the right side of the URL listed above, near the top.

    I used widgets for the welcome and the date, and also for the current weather.

    The code should be
    <iframe src="https://free.timeanddate.com/clock/i6zjyyzp/n198/fn6/fs16/fc9ff/tc000/ftb/bas2/bat1/bacfff/pa8/th2/ta1" frameborder="0" width="144" height="39"></iframe>

    Now, notice the large amount of space between the clock and lead-in to live weather.
    It’s not the worst thing in the world, but is there a way to fix it?
    Thank you!
    Lenny

    • This topic was modified 5 years, 5 months ago by Jan Dembowski.
    • This topic was modified 5 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not a Requests and Feedback topic

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Lenny Cohen

    (@feedbaylenny)

    FYI, in case this helps (and I tried several things), I ended up putting the first few items on the right-side widget space with one single widget: Text.

    The title to the Text widget is the welcome part.

    After that, in the actual space, is the WordPress shortcut for date with a period after.
    ([current_date format=’l, F j, Y’].)

    Finally, I went to the next line and pasted the HTML: <iframe src=”https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1&#8243; width=”175″ height=”45″ frameborder=”0″></iframe>

    The weather uses a second widget: Custom HTML. Its title is “And at this second…,” followed by HTML in the actual box.

    I tried everything I could, but nothing I could think of would make that space go away.

    Hi,

    When I inspect your page, I see this code.

    
    <iframe 
        src="https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1" 
        frameborder="0">
    </iframe>
    

    Meaning that the code you paste above (you should use the code button to display properly) doesn’t match what’s on your page. Maybe you’re not saving it?

    I’m pretty sure all you need to do is add a height to the iframe. Try 45.

    
    <iframe 
        src="https://freesecure.timeanddate.com/clock/i6zckzv9/n198/fn6/fs20/fc9ff/tc000/pcff9/ftb/bas2/bat1/bacfff/pa8/th2/ta1" 
        height="45" 
        frameborder="0">
    </iframe>
    
    • This reply was modified 5 years, 5 months ago by mark l chaves. Reason: Formatted code snippets
    • This reply was modified 5 years, 5 months ago by mark l chaves. Reason: Typo
    Thread Starter Lenny Cohen

    (@feedbaylenny)

    Wow! You got me thinking and I figured it out. (You were exactly right about the height being 45!)

    The dimensions were always there. I thought about doubling the height, to see if the frame would go longer and if so, make the text larger as well to fill the space.

    That didn’t work, so I thought about using the date in the graphic along with the time, rather than WordPress’ shortcut I’d been using.

    Then, I changed the text widget to html and it worked! (I don’t know why, but it did.)

    THANK YOU for loooking into this for me. I really appreciate it!!

    Lenny

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘extra space below widget’ is closed to new replies.