gerry293 Posted July 15, 2010 Share Posted July 15, 2010 Hi all,I would like to add some text on the enlarge picture window when you click on the picture... The text should be placed between the ''next' and 'close'I can't seem to find which file to edit.If someone knows that quick answer and what line, thanks so much.Have a nice day all! Link to comment Share on other sites More sharing options...
razaro Posted July 15, 2010 Share Posted July 15, 2010 Try to change and add following code in your theme folder css/thickbox.css #TB_secondLine { color:#666666; font:10px Arial,Helvetica,sans-serif; text-align:center; } #TB_caption{width:60%} #TB_prev{float:left} #TB_next{float:right} Link to comment Share on other sites More sharing options...
gerry293 Posted July 15, 2010 Author Share Posted July 15, 2010 Hi, I am not trying to modify the style, i am trying to add some text. Link to comment Share on other sites More sharing options...
gerry293 Posted July 15, 2010 Author Share Posted July 15, 2010 Any help ? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted July 15, 2010 Share Posted July 15, 2010 You need to modify js/jquery/thickbox-modified.js, which is where the dialog is built.It is compressed so you may need to run it through a tidy application to expand the JavaScript. Link to comment Share on other sites More sharing options...
razaro Posted July 15, 2010 Share Posted July 15, 2010 Sorry I haven't read your question carefully.If you need to add same text for every image you could add it to thickbox.tpl in your theme folder, before/ instead Image text.Anithig more may require changes of thickbox-modified.js and maybe product php. Link to comment Share on other sites More sharing options...
gerry293 Posted July 15, 2010 Author Share Posted July 15, 2010 Thx razaro,it aint perfect but i managed by just adding text and new paragraph following the ''next'' in thickbox.tpl.The problem is the text is underlined like the next. But i manage by hiding it by putting 2 line breaks.Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now