Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Materialize CSS in Smarty PHP

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
Nolin Amoah
Smarty n00b


Joined: 22 Mar 2018
Posts: 4

PostPosted: Tue May 22, 2018 9:51 am    Post subject: Materialize CSS in Smarty PHP Reply with quote

Hello folks,
i've tried to use the materialize css framework in a smarty enviroment.
Not just by adding the css classes one by one (because this would cost to much time). I've decided to use JQuery that the acutal class can be overwritten. Here is the basic code i tested, but proven to be unsuccessfull:

<script>
$( ".one" ).addClass( $( "row, card blue-grey darken-1, card-content white-text" ) );
</script>


.one is the class that should be overwritten.
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue May 22, 2018 4:33 pm    Post subject: Reply with quote

What is your Smarty question?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP