• Skip to primary navigation
  • Skip to main content

BookingWP™

WordPress Appointment Booking Plugins for WooCommerce

  • Get Appointments
  • Showcase
  • Contact
  • My Account

Background Images

Home › Forums › Deprecated › Taverna

Log in
background imageswidgets
  • Dennis Mueller
    Customer
    7 years, 3 months ago

    Hello,
    first of all, i want to say thank you for the awesome template. Its really great.
    Unfortunately i have a small issue since i have updated the version of the parent (bizznis) theme. The background-images of the widgets on the front page do not cover the entire width of the screen anymore. I am not sure if this is really linked to the update of the parent theme but since i did not change anything else i guess it really can be the only reason.
    So could you tell me how to fix the width of the background-images of the widgets on the front page?
    Thanks in advance.
    P.S. Sorry for the bad english.

    Zeljan Topic
    Support
    7 years, 3 months ago

    Can you share a link to your site? Also list your computer’s screen resolution.

    Dennis Mueller
    Customer
    7 years, 3 months ago

    My Domain is http://www.curry-station.com and the resolution i am using is 1280 x 1024.
    I have checked it on other pcs with a different solution as well and it is the same everywhere.
    Thanks

    Zeljan Topic
    Support
    7 years, 3 months ago

    Just updated the theme to 1.1.0, which should fix the issue. If you don’t want to update the whole theme, simply add this line of code to a theme file front-page.php:

    //* Remove main wrapper
    add_filter( 'bizznis_wrapper_main-wrapper', '__return_false' );

    The function, where this code was added, should look like this now:

    //* Add Index page template tweaks.
    add_action( 'wp_head', 'pronet_index_meta' );
    function pronet_index_meta() {
    
    	//* Force full width content layout
    	add_filter( 'bizznis_pre_get_option_site_layout', 'pronet_return_index_page_layout' );
    	function pronet_return_index_page_layout() {
    		return 'full-width-content';
    	}
    	
    	//* Add ID attribute for site main element.
    	add_filter( 'bizznis_attr_main-container', 'pronet_attributes_index_main_container' );
    	function pronet_attributes_index_main_container( $attributes ) {
    		$attributes['class'] = 'main-container';
    		return $attributes;
    	}
    	
    	//* Remove main wrapper
    	add_filter( 'bizznis_wrapper_main-wrapper', '__return_false' );
    	
    	//* Remove breadcrumbs
    	remove_action( 'bizznis_before_loop', 'bizznis_do_breadcrumbs');
    	
    	//* Remove the default Bizznis loop
    	remove_action( 'bizznis_loop', 'bizznis_do_loop' );
    	
    	//* Add index subpages
    	add_action( 'bizznis_loop', 'pronet_index_subpages', 8 );
    	
    }
    Dennis Mueller
    Customer
    7 years, 3 months ago

    Perfect!
    I just added this line of code to my existing file and it worked out great.
    Also donwloaded the updated version of the theme just in chase.
    Thank you very much.

    Zeljan Topic
    Support
    7 years, 3 months ago

    Glad it’s ok now.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Follow @bookingwp 900+ followers

  • About
  • Blog
  • Support
  • Terms
  • Privacy

© BookingWP™