fantasy_5
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Astra] Fit footer widgets inside viewport mobileHi,@r1k0
Thanks so much for the compliment. Yes, I was able to fix the issue by adjusting the form size in the footer. It was a custom size that looked great on desktop, but was outside of the viewport on mobile. I set it to auto-sizing instead. Thank you for getting back to me. @bsfaradhy
Forum: Themes and Templates
In reply to: [Astra] Fit footer widgets inside viewport mobileAn email opt-in form was stretching the footer. The issue is resolved.
Forum: Fixing WordPress
In reply to: Fit footer widgets inside viewport mobileI have created the thread in the Astra theme’s forum. Thank you.
Hi, Ena
I was, unable to resolve this issue. I tried the suggestions above but was unsuccessful. The image appeared on the page when added but not below the place order button as desired. If someone has another suggestion in terms of the function or can help me figure out what’s missing from the code below whereas it’s not working properly that would be great. I need to know the exact way the code should be written, including proper hooks, etc. so it will work.
add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' ); public function add_content_on_checkout() { echo "<img src='safe_checkout.png' >"; //add the image url in the src attribute }Hi, Bcworkz,
Thanks for continuing to assist me. I guess the main thing I need to know is how the function should be written so it works and doesn’t break my website or how to code the same thing I’m seeking via CSS. Should it be written like this with the line for $src = removed?
add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' ); function add_content_on_checkout() { echo "<img src='https://www.shopatkei.com/wp-content/uploads/2021/01/great-reasons-to-buy-from-us-1.jpg' />"; //add the image url in the src attribute }- This reply was modified 5 years, 2 months ago by bcworkz. Reason: code fixed
Hi, BCworkz,
Thanks for your reply. I’m not really sure about the action either but have been trying to figure it out. Should the code be rewritten like this?
add_action( 'woocommerce_review_order_after_payment', 'add_content_on_checkout' ); function add_content_on_checkout() { $src = get_stylesheet_directory_uri() . '/images/safe_checkout.png'; echo "<img src='https://www.shopatkei.com/wp-content/uploads/2021/01/great-reasons-to-buy-from-us-1.jpg' />"; //add the image url in the src attribute }- This reply was modified 5 years, 3 months ago by Steven Stern (sterndata).
Thank you
Forum: Fixing WordPress
In reply to: Remove All Product and Category Thumbnails from the shop pageHi, @t-p
This thread is not about the drop shipping plugin I’m using. The product category thumbnails that are displaying on my main shop page are coming from Woocommerce. I only need assistance in adjusting the code above. Can you help?
Forum: Fixing WordPress
In reply to: Remove All Product and Category Thumbnails from the shop pageHi, @t-p
I’m using the Alidropship Woo plugin.
Forum: Fixing WordPress
In reply to: How to Add Social Network Icons to Author Bio/ Single PostsHello!
One more thing… If I want to make the social icons a bit larger, change the color, and put a bit more space between them which portion of the code would I tweak?
When will this plugin be compatible with jetpack? also, the header image under the design tab is no longer working.
Hi, Guys!
I deactivated all of the plugins and found the culprit. Thanks so much for your help. I appreciate you!
Hi, Stef!
I deactivated all of the plugins and found the culprit. Thanks so much for your help. I appreciate you!
Forum: Fixing WordPress
In reply to: Front Page Template Issue Posts Not DisplayingIs there someone available who can assist me with this thread?
For instance, in the parent theme’s file short code function and Stykes are used to display the content. Is there a function I can create that will say something like is front page or homepage do short code for news or latest posts?
Forum: Fixing WordPress
In reply to: Front Page Template Issue Posts Not DisplayingHi!
Thanks for your reply but I have already created a page to use as home and it is titled home. It is currently set as my static front page. I am referring to an actual page template. Front-page.php that’s what I need assistance With.