Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Materialize CSS in Smarty PHP

 
Post new topic   Reply to topic    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: 1363

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:   
Post new topic   Reply to topic    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