Weaver Theme bug identified & resolved

While I was configuring options in the Weaver theme (Weaver II-Pro) in preparation for my presentation at the Configurable Themes presentation for the Oakland WordPress Meetup the other day when I discovered a strange behavior when selecting one of Weaver theme’s most useful page-specific options: selecting the One column: No sidebar option.

Weaver Theme bugThe problem manifested when I used some custom css to wrap the main page in a “shadow”. This worked fine with all templates, except for the “One-column: No sidebar”. In that case the main page did NOT display the shadow, but oddly a blank page appeared below the footer with the shadow effect.

Here’s one of the reasons I like Weaver theme for WordPress. I posted the problem on the Weaver Forum and within 24 hours someone came up with a solution which I’ll post below. Also Bruce Wampler, the Weaver theme developer chimed in that he’ll fix the inconsistency in the upcoming next version.

The problem is that all the templates have a float on #container_wrap established in the style sheet, except for #container_wrap.one-column which says float:none. If I put #container_wrap.one-column {float: left;} in there, it looks good. The “bug” is that the templates behave differently. They should be consistent if other rules are expected to work.

In the mean time, if you use the Weaver One-column: No sidebar option in the Weaver II settings panel insert the custom css statement:

#container_wrap.one-column {float: left;} 
(This post was viewed 61 times) in the last month.)

Pieter Hartsook

WordPress website coaching, design, implementation, support, and training. Background in Marketing Research and Communications. See my profile at: https://www.linkedin.com/in/hartsook/

Reader Interactions

Leave a Reply

Your email address will not be published. Required fields are marked *

Limit search for phrases by using " " around the phrase

Signup for Monthly Email Notification

Get notified of new posts from WordPress Website Coach. We only send these out once on the 1st of each month.

Something went wrong. Please check your entries and try again.

Recent Code Snippets

A bit of PHP to preserve html formatting in standard WordPress excerpts 1

A bit of PHP to preserve html formatting in standard WordPress excerpts

Posted in , , ,

If you don’t use the Excerpt field in your posts and rely on WordPress to grab the first few dozen words of your post content what you usually find is the excerpt when displayed on the front end (usually in some sort of archive or post grid display) will have most of the html tags removed leaving you with a single block of plain text.

If I go to the bother of formatting my post content to make it more interesting and easier to read and understand I’d like that formatting to be preserved even in that post’s excerpt.

(This post was viewed 25 times) in the last month.)

Read More
How to add custom post types to your default RSS feed 2

How to add custom post types to your default RSS feed

Posted in , , ,

RSS readers are somewhat old school in 2020, but the RSS feed that is part of WordPress is used by email services like Mailchimp and Mailerlite to create automated email updates when you add a new post to your website.

If you have custom post types though, they are not included in the default URL:

https://yoursite.com/feed

(This post was viewed 91 times) in the last month.)

Read More
Storing javascript in a metabox.io Custom Field textarea 3

Storing javascript in a metabox.io Custom Field textarea

Posted in , ,

For some client projects I needed to embed javascript code in a page (Post). I used a custom field textarea to insert the code when creating the Post. The problem was the default for text fields was to run them through a sanitizer.php to strip out any type of code that might be malicious. This is a good thing. But in this case it defeats the purpose.

So how to disable the sanitizing for just this field without breaking the default?

 

(This post was viewed 76 times) in the last month.)

Read More
Create a Scrolling Column with trivial CSS 4

Create a Scrolling Column with trivial CSS

Posted in ,

The client wanted to display a list of past events in a scrollable column. This was easy to implement using simple css. The page layout was done with Beaver Builder, but the solution should work for any html container.

(This post was viewed 59 times) in the last month.)

Read More
Changing a Submenu to a Mega-menu with Beaver Builder 5

Changing a Submenu to a Mega-menu with Beaver Builder

Posted in , , ,

Sometimes you want to present a navigation menu as a horizontal “mega-menu” instead of a hierarchal dropdown menu. This is really simple if you are using Beaver Builder. The mega-menu feature is built in, but is unfortunately hidden. You have to know the secret to turn it on.

(This post was viewed 75 times) in the last month.)

Read More
Formatting a custom number field to add commas 6

Formatting a custom number field to add commas

Posted in , , , ,

I needed to format a number field (999,999,999), coming from a custom field number-format (no other characters permitted in the number entry field). No “$” no commas or decimal points, etc. to output as a normal currency format.

Formatting a custom number field to add commas 7

When displaying the number I could add a “$” in front of the number, but couldn’t find a way to format the number since you can’t do that with CSS.

(This post was viewed 171 times) in the last month.)

Read More

Popular Posts


Categories