Twitter Bootstrap 3 support question

Phoca Gallery - image gallery extension
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Twitter Bootstrap 3 support question

Post by 01Kuzma »

Hi Jan!
I've rewrote the whole template on my website with Twitter Bootstrap 3 mark-up.
Today I'm using the Twitter Bootstrap 3.1.0 version.
There are some problems with Phoca's Gallery elements.
Here are the screenshots:
Image
Image
I wonder, will you make a TB3 mark-up support in the nearest future?
Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Twitter Bootstrap 3 support question

Post by Jan »

Hi, which version you are using, I have added specific code to Phoca Gallery to not be in conflict with bootstrap3 in latest Phoca Gallery.

And this solves the problem:

Code: Select all

/* Bootstrap 3 conflict */
#phocagallery *,
#phocagallery *:before,
#phocagallery *:after {
  -webkit-box-sizing: content-box !important;
  -moz-box-sizing: content-box  !important;
  box-sizing: content-box !important;;
}
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: Twitter Bootstrap 3 support question

Post by 01Kuzma »

Hi Jan!
I was using the 4.0.4. Now I've updated to 4.1 and everything seems to be OK!
Thank you!
Only one issue left - the filter options, as it's seen in my first picture.
Or they should be fixed with template override only?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Twitter Bootstrap 3 support question

Post by Jan »

Hmm, pagination is mostly designed by the template, so I think, this needs to be set there, maybe this can be a problem as Joomla!'s html output is bootstrap 2 :idea:

Jan
If you find Phoca extensions useful, please support the project
01Kuzma
Phoca Enthusiast
Phoca Enthusiast
Posts: 50
Joined: 01 Sep 2012, 10:27

Re: Twitter Bootstrap 3 support question

Post by 01Kuzma »

With pagination itself I've already solved. It should be overrided, because, as you said, it's native Joomla's output. But with sort select group I can't find the solution :(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Twitter Bootstrap 3 support question

Post by Jan »

Hmm, then maybe some new class needs to be added to the select box form :idea:
If you find Phoca extensions useful, please support the project
Post Reply