Havouza Posted May 24, 2017 Share Posted May 24, 2017 Is it possible to add css classes to a css-file and use them on the cms pages like T&C etc Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 You can use cms.css file, which is in your theme folder. If you wanna have specific rule for one page, you can use selector "#cms-id". Ofc you should replace id with the number. Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 OK Thanks a lot Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 @wakabayashi that worked like a dream. Can you also solve the next problem? I use some Awsome fonts on the page. Is there a way to link them to the cms pages Link to comment Share on other sites More sharing options...
Nemo Posted May 24, 2017 Share Posted May 24, 2017 @Havouza Could you clarify? Font Awesome should be loaded in global.css, is it not available on the cms page? Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 There is a special css in css/vendor/font-awesome/. The awesome icons load in an iframe so I have changed the settings to allow iframes also. but it does not show up. It is one icon font I need its a tick. fa fa-check. I will investigate further Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 wrong. It is an tag. No clue what it is Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 Hm I don't understand your problem. Is your site live? Or can you show us your html code? Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 Site is not ready but live Html Webmail This works perfect in a normal htmlpage www.host-thirty.com. Compare packages. Allmost all empty cells should have a tick in it Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 But where is the page, which doesn't work? Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 Go to the link and press Compare packages in the menu Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 One question is if the cms pages read the font-awesome.css file Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 I see... Not sure what is the problem, since I add FontAwesome by CDN. Try to add this to global.css .fa-check:before { content: "\f00c"; } Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 If you look in the page source the font-awesome css file is not linked . It can not work Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 Not sure if this is problem. The phone icon on the top is loaded... Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 Oh yeah Michael is right :D @mdekker why is it done like this? It confuses me a lot ^^ Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 so what to do about it? Link to comment Share on other sites More sharing options...
Havouza Posted May 24, 2017 Author Share Posted May 24, 2017 Fixed all now. Thanks for help Solved Link to comment Share on other sites More sharing options...
Traumflug Posted May 24, 2017 Share Posted May 24, 2017 I add FontAwesome by CDN. Come on. 30bz comes with no less than 3 font-awesomes (admin/themes/default/sass/vendor, themes/community-theme-default/sass/vendor and modules/themeconfigurator/views/css/font) already and that's still not enough for you? Haha :-) Link to comment Share on other sites More sharing options...
wakabayashi Posted May 24, 2017 Share Posted May 24, 2017 I am not yet on tb on live server and removed the font from my theme ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now