darleenw Posted July 31, 2014 Share Posted July 31, 2014 (edited) How do I add textarea box - so that I can add banners and code to be pasted for Affiliates within CMS page for new affiliates to copy and paste. Such as example From- http://www.yessoftware.com/partners/affiliate_links.php <!-- YesSoftware Affiliate banner code begin --><center><a href="http://www.yessoftware.com/?xxxx"><img src="http://www.yessoftware.com/images/banners/playlearn1.gif" border="0" width="468" height="60" alt="Develop Dynamic Web Sites in No Time!"></a><br><font size="2"><a href="http://www.yessoftware.com/?xxxx">YesSoftware - the Next Generation Web Development Tool</a></font></center> <!-- YesSoftware Affiliate banner code end --> http://tail-wags.com is prestashop page On 7/31/2014 at 10:13 PM, darleenw said: Edited July 31, 2014 by darleenw (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 1, 2014 Share Posted August 1, 2014 Hi, So you basically need to show raw html code to people visiting a specific cms page? I am not sure it works, but try wrapping in <pre> tags your content, making sure you do this while in the html view of the cms page editor Link to comment Share on other sites More sharing options...
darleenw Posted August 2, 2014 Author Share Posted August 2, 2014 Hi I have done using <textarea> </textarea> however how do I add custom css for the box regarding height, width and border color? Link to comment Share on other sites More sharing options...
darleenw Posted August 2, 2014 Author Share Posted August 2, 2014 The only way around I can see is to add custom css page with a new class such as affiliateTextbox Current CSS that is being displayed : .columns textarea { width: 692px !important; height: 100px; overflow: auto !important; } Change to .affiliateTextbox Something additional is required in Prestashop however - I must create a module.css file? I want to adjust this as I would in WordPress with custom CSS but Cannot find a way to do this in Prestashop Thanks Link to comment Share on other sites More sharing options...
darleenw Posted August 2, 2014 Author Share Posted August 2, 2014 All I want to do is change width to 300px but have no idea if change in global.css what items on shop will be affected. Thanks Link to comment Share on other sites More sharing options...
Paulito Posted August 3, 2014 Share Posted August 3, 2014 Hello Do you mean something like this http://adultskunk.co.uk/index.php?id_cms=6&controller=cms&id_lang=1&live_configurator_token=8f63a8939f73796696b9798dd0d21785&id_shop=1&id_employee=1&theme=&theme_font= Paul Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2014 Share Posted August 3, 2014 i just tried to save simple <textarea> in tinymce and seems like everything is alright do you use some custom css styles? it is possible that your styles just hide / remove textarea Link to comment Share on other sites More sharing options...
NemoPS Posted August 4, 2014 Share Posted August 4, 2014 Iff you only need to style the textarea, I would suggest using inline css (the style="" one) instead of adding a whole new .css file, which would increase the page load considerably Link to comment Share on other sites More sharing options...
vekia Posted August 4, 2014 Share Posted August 4, 2014 tinymce will not remove style="" tag? im affraid (as far as i remember) that by default this tag is not allowed Link to comment Share on other sites More sharing options...
NemoPS Posted August 5, 2014 Share Posted August 5, 2014 It seems to be working on cms pages just tried with style="color:red" on an h2 tag 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