• Resolved scriptgeni

    (@scriptgeni)


    I was wondering how to add a specific CSS class to the “Start Mining” & “Stop Mining” links in the templates

    
    ({{#translate}}Start mining{{/translate}})
    
    • This topic was modified 7 years ago by scriptgeni.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author denniske1001

    (@denniske1001)

    Just add the classes to the div tags:

    
    <div class="action action-start my-custom-class-1">
        {{#translate}}Start mining{{/translate}}
    </div>
    <div class="action action-stop my-custom-class-2">
        {{#translate}}Stop mining{{/translate}}
    </div>
    Thread Starter scriptgeni

    (@scriptgeni)

    Thanks, I already figured that out :))

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS class on template syntax’ is closed to new replies.