Actually i need a html function to be called from css file.
I need a new .css file so that i can modify it anytime rather that putting in style.css
How can i define a new .css file and how to map it.
Where exactly coupon theme is calling/linking all the .css files?
iv never heard of a html function..
Thanks mark, got to call those functions from css… thanks 🙂
If you are talkng about using CSS expressions, I highly advise against it. See this link for reasons: https://gtmetrix.com/avoid-css-expressions-pagespeed.html
If yo need to be able to modify a style whenever you want without the need to edit the styles.css file in your child theme, simply place your styles in the New CSS Styles box under Color Changes in admin.
Richard _____________________________________________________________________ Wide range of PremiumPress and WordPress Plugins and add-ons PremiumPress customisation services and Website Design Selection of PremiumPress Child Themes
Great richard thanks for the info.
I have created a bootstrap modal and tested it sucessfully, but how can i call it during the pop-up of the coupon code?
Richard sent you a mail 🙂
Function in css ? i don’t understand, it’s impossible.
lol, Praveen has reinvented CSS 🙂
Hi Praveen, I think I understand what you are trying to accomplish. Since this theme is using Bootstrap you may find bootstrap-modal.js is already loaded.
What you could do is turn the required modal php into a shortcode so you can use it as a replacement of the standard CBUTTON popup, a relatively big undertaking though not impossible.
Aaron, i have made it to work. But now the difficult situation is to call the coupon code and link inside a modal window. I tried to call inside a html its not showing anything. 🙁
<!– Modal –> <div id=”myModal” class=”modal hide fade” tabindex=”-1″ role=”dialog” aria-labelledby=”myModalLabel” aria-hidden=”true” > <div class=”modal-header”> <h3 id=”myModalLabel”>Title</h3> </div> <div class=”modal-body”>
/* Trying to display the affiliate link below, but not working 🙁 */ <p><?php $post->link; ?></p>
this is invaid, there is no such data as $post->link;
try: echo get_post_meta($post->ID,’link’,true);
Mark, tried that getting below error.
Here is how i have define in html box. <p>echo get_post_meta($post->ID,’link’,true);</p>
On modal window its showing below exactly the same. echo get_post_meta($post->ID,’link’,true);
Start your new website today!