I need to know if it is possible to add a simple css class to a smarty tag so the <a> tag has a CSS class when the browser renders it.
this is the Smarty tag that need the class
Code: Select all
{$entry->morelink}the output must be something like
Code: Select all
<a href="someurl" class="link">see more</a>here is the style in .link which I need to add to the "see more" link somehow. Otherwise the link styling is not working.
Code: Select all
  .main-banner figcaption .box .link {
        font-size: 20px;
        font-weight: 500;
        color: inherit;
        display: inline-block;
        vertical-align: top; }
        .main-banner figcaption .box .link:hover {
          text-decoration: underline; }
        @media (max-width: 767px) {
          .main-banner figcaption .box .link {
            font-size: 18px; } }



