Hi Stella,
I have overridden my theme_button function to implement the Sliding Doors technique, the funciton essentially returns something akin to...
<button class='outer-button' type='submit' value='whatever'><span>Button Text Here</span></button>
This code works well over all the pages/nodes I have on my site.
When I display a node in a lightbox though, say via mysite.com/node/123/lightbox2 and with a customised page-node-lightbox2.tpl.php to only show content, the button code appears like this...
<button class='outer-button' type='submit' value='whatever'></button><span>Button Text Here</span>
and obviously CSS I have to make pretty little buttons doesn't kick in. There is no difference if I use your original page-node-lightbox2.tpl.php file.
Any ideas on what this might be, or even what code I should take a quick look at to see why my button is being messed up?
Sliding Doors tutorial... http://www.filamentgroup.com/lab/update_styling_the_button_element_with_...
Thanks,
Keith
Comments
Comment #1
Keith Hurst commentedSolved it....
my code was....
when it should have been...
Schoolboy error !
KH
Comment #2
Bilmar commentedas per above