• Skip to primary navigation
  • Skip to main content

BookingWP™

WordPress Appointment Booking Plugins for WooCommerce

  • Get Appointments
  • Contact
  • My Account

Load style.css after bootstrap.css

Home › Forums › Deprecated › Bizznis

Log in
Bizznis
  • Jonathan Fokker
    Customer
    10 years, 10 months ago

    He,

    Working on Bizznis.

    How do I load style.css after bootstrap.css? Now bootstrap.css is always loaded and checked as last and I cannot make easy changes in style.css with the buttons.

    Otherwise I get a lot of !important tags. 

    See here: http://burendaghouten.nl

    Zeljan Topic
    Support
    10 years, 9 months ago

    You can control the position of your main style sheet by adding this to your child theme’s functions.php file:

    remove_action( 'get_header', 'bizznis_load_stylesheet' );
    add_action( 'get_header', 'custom_load_stylesheet' );
    function custom_load_stylesheet() {
    add_action( 'wp_enqueue_scripts', 'bizznis_enqueue_main_stylesheet', 15 );
    }

    Change the number 15 to whatever number, 10 is the default.

    Jonathan Fokker
    Customer
    10 years, 9 months ago

    Thanks.

    Jonathan Fokker
    Customer
    10 years, 7 months ago

    And how do I do this in BizzStore theme?

    The bizznis stuff doesn’t work here.

    Greetings,

    Jonathan

    Zeljan Topic
    Support
    10 years, 7 months ago

    Add this to custom_functions.php for Bizz Store:

    add_action( 'wp_enqueue_scripts', 'custom1_theme_head_styles' );
    function custom1_theme_head_styles() {
    wp_dequeue_style('main_stylesheet');
    }

    add_action( 'wp_enqueue_scripts', 'custom2_theme_head_styles', 15 );
    function custom2_theme_head_styles() {
    wp_enqueue_style('main_stylesheet');
    }
    Jonathan Fokker
    Customer
    10 years, 7 months ago

    Thanks!

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™