Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CSS override from jQuery Plugin (HomeSlider)

Featured Replies

Hello,

 

I am trying to customise the homeslider module, which is calling a jQuery Plugin stored in:

ThirtyBees\js\jquery\plugins\bxslider\jquery.bxslider.css

 

Everything I type in the global.css or if I create a specific css file within the module, inside of the theme, I can't override the css from the jQuery plugin.

 

Basically I would like to remove the ::after tag in the CSS and change the width of the arrows, but the css from the plugin takes the lead.

 

Any idea?

Séane

Try !important rule.

example:

p {
    color: red !important;
}

 

This works for me for arrows :

#homepage-slider .bx-wrapper .bx-next, #homepage-slider .bx-wrapper .bx-prev{
	top: 50%;
	width: 30px;
	height: 30px;
}

You must do this in yourtheme/css/modules/homeslider/homeslider.css

Edited by tommat

  • Author

Hello tommat,

Thank you for your kind help, the !important worked like a charm and I'll test the homeslider.css.

 

Thank you,

Séane

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.