Disappearing Widget Text area
I decided to use Widget Logic instead of so many sidebars and that seems to have at leat circumvented the issue.
I decided to use Widget Logic instead of so many sidebars and that seems to have at leat circumvented the issue.
#sidebarSubnav h3 is not letting your Custom CSS to work since it already contains !important for its style properties. Place your code below the above selectors or load the custom css file after the default stylesheet.
Your posts are too wide and are overlapping the sidebar. Try changing your CSS to: .entry-content { width:55%; } Revision: #secondary.widget-area{ display:block; position:relative; } This isn’t a WordPress question, but since I’ve started trying to help I thought I’d see it through.
Your problem is not Woocommerce specific, and can be generalised as: Given a term in a taxonomy, how do I attach a chunk of text to that term and display it in the term listings? In this case, the taxonomy is the one provided by Woocommerce. To do this you need to first get the … Read more
solution for your problem 1.This css code conflict with your css ( for paypal button ) #widgets .textwidget a { display: inline; } and #widgets a { display: inline-block; margin: 0; padding: 0; text-decoration: none; } 2.put !important in display property a.paypalButton { display: block!important; width: 207px; height: 44px; background-image: url(‘http://kellygreenproject.com/wp-content/uploads/2013/05/General-Donate.png’); }
Widget areas are the wrong tools for what you need. They are built to offer a choice. Breaking that would be very difficult … and hard to understand for the user. Alternative: Use a custom setting, for example in wp-admin/options-general.php where the tagline and the site title is. There is even a hook for such … Read more
Widget Disappearing in IE
Your question is a bit hard to read, but if I understand you on a single post page this should work: $obj = get_queried_object(); if (‘WP_Post’ === get_class($obj)) { $cellar = get_post_meta($obj->ID,’cellar_slug’,true); if (!empty($cellar)) { $cellars = new WP_Query( array( ‘post_type’ => ‘post’, ‘numberposts’ => -1, ‘posts_per_page’ => ‘1’, ‘meta_query’ => array( array( ‘key’ => … Read more
According to the codex, the first argument should be a valid widget class name and not the theme name. <?php the_widget( ‘Replace_With_Valid_Widget_Class_Name’, ‘widget-id=text-20’ ); ?>
I think you should be able to register your stylesheet with wp_register_style(), then load the stylesheet via wp_enqueue_style() from within the shortcode’s function, so it only loads when the shortcode is executed. For a rundown on how this will work here’s a good article. It refers to scripts, but I believe the same is true … Read more