WordPress Update messed up widget placement

Support Area Forums Bottega WordPress Update messed up widget placement

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://gottadancelex.org
  • Author
    Posts
  • #20915
    Avatar photoKim Hannan
    Participant

    Bill: When we set this site up for a client a year ago, you provided a CSS that kept the text widget on the home page flush left, and then the Blog widget and the Contact widget on the right, two columns wide each with the Blog widget on top and the Contact widget below. (hope that makes sense).

    With the update to the most recent WordPress, client writes me that everything is flush left.

    Can you provide an updated CSS so that I can drop it in for them?

    Thanks, Kim H

    #20926
    Bill Robbins
    Moderator

    Good Morning Kim,

    Great question there. With WordPress 3.9, one of the scripts bundled with WordPress had an update. It’s called masonry and what it does is line up the widgets on the home page in Bottega. You’ll need to make an edit to this version of the theme to reflect the changes in the bundled script. Here’s what to do:

    1. Go to the Appearance section in your WordPress control panel and select Edit.
    2. From the list of files on your right, choose scripts.php
    3. On line 34, find this:
      
      wp_enqueue_script('masonry');
      

      and change it to this:

      
      wp_enqueue_script('jquery-masonry');
      
    4. Save your changes.

    See if that won’t do the trick without having to update the entire theme. Let me know if you have any trouble.

    Have a great day,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘WordPress Update messed up widget placement’ is closed to new replies.