Shape 5

Joomla Templates => Game World - Club => : ywncyber August 01, 2017, 08:56:23 AM



: Custom CSS not working in Game World 2015?
: ywncyber August 01, 2017, 08:56:23 AM
Hi guys,

I have put some custom CSS in custom.css in the templates/gameworld/css folder

I am trying to use it's style on a table in an article like this

<div class="lh_infobox"> <Placing that before the table tag
</div> palcing that when I'm done.

I've tried highlighting the table and selecting style in the hopes my custom style's name would be listed in the WYIWYG editor, but its not.

Any ideas why it's not working? I've cleared site cache, purged expired, checked in all content etc. I also reloaded my browser (clearing all my own history and cache) I've manually navigated to the CSS file in my browser to ensure what should be there actually is.

This is the link: http://www.sonicscene.net/templates/game_world/css/custom.css

Any ideas why it isn't working? :-(


: Re: Custom CSS not working in Game World 2015?
: mikek August 02, 2017, 07:09:39 AM
Hello,

The template itself wouldn't control this. I would recommend turning off the editor itself when you insert this code, you can do that from the global configuration in Joomla. Editors are very prone to stripping custom html code out when you save it.


: Re: Custom CSS not working in Game World 2015?
: ywncyber August 02, 2017, 09:14:03 AM
Thanks for the reply mike, it hadn't been strpping my code (I disabled all that)
I added it to editor.css and template.css and it's now working. I'm not  really sure which one worked though :-O