Custom CSS for global area does not work

Permalink
Hi

I am not able to apply custom css to a block (autonav) in a global area.

Is that the way it should be or is this a bug in 5.7.4.1?

Olaf

ong
View Replies:
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi ong,

Just to clarify, do you mean you cannot add a custom class to the block?

If you mean custom class, then double check that you are hitting enter after typing in the class. If you don't hit enter, the class you type in will clear.
ong replied on at Permalink Reply
ong
Hi

yes, I mean adding. I choose "Design &.." from the menu of the block, but I can not click on custom setting (gear icon) NOR any other.
When I try to change the design of a stack itself (in Stacks menu) this works fine.

Olaf
ong replied on at Permalink Reply
ong
Hi

no, I mean something different (and I am using C5 5.7.4.2 by now - it still does not work).
I have created a screencast where I demonstrate the not-working of this feature (mp4, 190kb)
http://dl.olaf-noehring.de/?t=b248d8cc2c44cbb54778ef8f5e1729ba...
When I click on the icons nothing happens :-(

Olaf
MrKDilkington replied on at Permalink Reply
MrKDilkington
First I would switch to the Elemental theme to see if you still have the problem.

If the problem goes away, then you know it is a problem in your theme.
ong replied on at Permalink Reply
ong
Hi Karl,

thanks for the tip - unfortunately it DID work with the elemental theme.
Any ideas how / what I need to fix? As "the other" things seem to work with my theme (own creation, a bootstrap3 css design and created an extra css file with "my" formatings) I am not sure what I did wrong.

Olaf
MrKDilkington replied on at Permalink Reply
MrKDilkington
It is likely a JavaScript issue.

Are you registering all the JavaScript used in your theme? This helps to prevent conflicts.

https://www.concrete5.org/documentation/developers/5.7/designing-for...
ong replied on at Permalink Reply
ong
Hi Karl,

I will check that and keep you posted.
I can say already, that I did follow Andrews screencast on how to convert a HTML theme to a C5 (5.7) theme.

Thanks
Olaf
ong replied on at Permalink Reply
ong
Hi Karl,

the video helped me to get it going. Now it works. I was not able to include the bootstrap3 from the C5 itself, but provided the bootstrap I used to design the page.

Thank you for pointing this out.

Olaf