ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Placing EE Tags in EE Stylesheet

August 05, 2013 3:28pm

Subscribe [2]
  • #1 / Aug 05, 2013 3:28pm

    danc

    3 posts

    I would like the content of a button to change from {entry_id} to {entry_title} when the mouse hovers over said button.

    }
    button {
     width:100%
    }
    button:hover span {
     display:none
    }
    button:hover:before {
     content:'{mapper:entry_title}'
    }

    The Button does change but simply places ‘{mapper:entry_title}’ in the button. Rather than the EE output of that tag.


    Any help or tips appreciated.

  • #2 / Aug 05, 2013 3:35pm

    Boyink!

    5011 posts

    The only tag parsed in an EE stylesheet template is {site_url}.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases