• I have a WP Symposium login widget in my header. When the site is brought up in Firefox there is a scroll bar on the right and bottom of the widget. No scroll bars appear in Chrome or Safari.

    It appears that the only way to get rid of the scroll bars is to increase the default size of the iframe. Apparently once the widget is not crowding the iframe, Firefox will decide that the scroll bars are unnecessary.

    ” The best way to work around it is to make sure that your gadgets don’t exceed the default size of the iframe. It’s okay for them to be smaller, but larger causes scrolling.”
    http://stackoverflow.com/questions/5606920/cross-domain-iframe-resizer/6940531#6940531

    I’m trying to figure out what an iframe is and how to manipulate it, but today was the first time I heard that term so I have a lot to learn.

    Any help or advice is very much appreciated.

    Thanks.

    http://www.templemountaintea.com

Viewing 1 replies (of 1 total)
  • Thread Starter mrerikmt

    (@mrerikmt)

    This is the PHP code that is in my function.php file that concerns the header widget:

    function header_widget() { ?>
    	<div id="header_widget" class="sidebar">
    		<ul class="sidebar">
    			<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Header Widget') ){	?>
    						<li class="widget"><h3><?php _e('Header Widget', 'headway'); ?></h3>No widgets yet!</li><?php } ?>
    		</ul>
    	</div>
    <?php }
    add_action('headway_before_header_link', 'header_widget', '1');

    Considering that I usually break things when I mess with PHP I would rather not start fooling with this until I have a good idea about what might work.

    If I remove the line that says ‘dynamic_sidebar’, will that remove the scroll bars from my header widget?

    Thanks for any help.

Viewing 1 replies (of 1 total)

The topic ‘Firefox, scroll bar, iframe’ is closed to new replies.