• Hi,
    I’m using a child version of Twenty Thirteen.
    There are four widgets in the footer. Three custom menus and a text box.
    I can’t control the width and positioning of the widgets (as far as I can tell) using CSS as the absolute positions and widths are in the style tag at the code level.
    e.g.
    <aside id="nav-menu-3" class ="widget widget-nav-menu masonry-brick" style="position:absolute; top:0px; left:265px;>
    It seems that the widths and positions of the footer widgets are being generated by a function rather than CSS.
    Does anyone know how to bypass or change that?
    Thanks,
    Franc.

Viewing 2 replies - 31 through 32 (of 32 total)
  • Thank you Slobodan. I was really glad to find your solution. It was very helpful and saved a lot of time and frustration.

    I found just de-queueing the script like @dirk Members suggested easiest. Then you don’t deal with the jquery applied styles.. I put this in my functions.php

    function remove_masonry() {
    	if ( is_active_sidebar( 'sidebar-1' ) ) {
    		wp_dequeue_script('jquery-masonry');
    	}
    }
    
    add_action( 'wp_print_scripts', 'remove_masonry', 100 );
Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘Amend Widget Widths and Positions in Twenty Thirteen’ is closed to new replies.