Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

print/email icon dropdown issue with no bootstrap

More
9 years 10 months ago #39883 by Boradan
Regarding the dropdown box for Print/email for articles:

With Bootstrap:
i.gyazo.com/a1b77794307db9fc7cdc14c8f9cd30f1.png

Without Bootstrap:
i.gyazo.com/dcbf1718b66e766a5e8f629d7a3193bc.png

It seems that TC is creating a (very small) button instead of a dropdown box with icons and not showing the 'icon-cog' or the 'caret' icons
The 'dropdown' is also opened by default with no way of closing it (since the dropdown doesnt exist.

You can see this happening at:
sb-es.co.uk

Latest Joomla! and Template Creator CK used, and no other plugins except JCE

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #39908 by ced1870
Hi
Please try to add this custom css
Code:
.icons .btn.dropdown-toggle { display: none; }
and tell me if all is ok
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #39923 by Boradan
That makes the button disappear, yes.

But isn't it supposed to create the button for a dropdown menu containing 'Print', 'email' and 'edit' ?

the code generates is this:

i.gyazo.com/19d974f1be9d86555bdf1de045be767d.png

looks like it is trying to re-create a button like the Bootstrap one (cog wheel icon and caret icon) that opens out with the 'print' 'email' and 'edit' options (which is what I would LIKE it to do).

From what I remember, this is what happened in joomla prior to 3.x (when it integrated bootstrap)

Possibly, it is a conflict when you do not add bootstrap to the template (as it is in this case), yet joomla itself is integrating bootstrap.

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #39929 by ced1870

But isn't it supposed to create the button for a dropdown menu containing 'Print', 'email' and 'edit' ?

not if you don't use bootstrap
This code is for bootstrap, if you don't want to load it, I will not emulate the same features (this has no sense for me ;) )

the source code has nothing to do with the load of the bootstrap files, it is generated by the com_content layout (which by default wants you to use bootstrap)

I manage this in css here to avoid to create a template override which would be a pain to maintain

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #39932 by Boradan
ah, ok.
A misunderstanding from my end.

The fix you initially posted works though (button no longer being created)

Please Log in or Create an account to join the conversation.

Time to create page: 0.194 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1158 guests and 2 members online