jasonlightner
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Attempting to Center-Align the Add to Cart ButtonThis worked! Thank you!
Forum: Plugins
In reply to: [WooCommerce] Attempting to Center-Align the Add to Cart ButtonThat’s strange you weren’t able to access the site. That link definitely works. Here’s another, just in case:
https://xyberhawx.com/product/xyberhawx-2023-cinematic-poster/
I tried adding your snippet to the custom CSS portion, but it didn’t seem to have any effect of the appearance of the Add to Cart button.
So apparently the editing of the theme is unnecessary!
Hestia just added an article, which outlines a key component of the Additional CSS bit that I wasn’t aware needed to be added—the “!important” tag.
Here’s the article: https://docs.themeisle.com/article/1326-change-the-big-title-background-image-on-smaller-screen-sizes-in-hestia
With that “!important” tag, apparently you don’t need to worry about commenting out the PHP in the theme editor. Hope this helps!
A SOLUTION HAS BEEN FOUND!!!
I managed to get some help on the Hestia Facebook group (https://www.facebook.com/groups/2024469201114053/permalink/3025831354311161/).
For anyone else who might need this, what I wound up doing was:
– Go to Appearance>Theme Editor.
– Select the Hestia theme (not the Hestia Child theme, if you have that installed).
– Navigate to and select “inc/views/front-page/class-hestia-big-title-section.php”.
– Scroll to the line that reads “<div class=”header-filter”” (should be around line 97).
– Observe the line below it that reads “<?php”.
– Make a new line under the line that reads “<?php”, and in it type “/*” (without the quotes).
– Find the closing PHP line about 4 lines down that reads “?>”.
– Make a new line above the line that reads “?>”, and in it type “*/” (without the quotes).
– Click Update File and reload your page.
– If you haven’t added code to set the background-image in Additional CSS, you’ll simply see no background image at all, but setting the image via the @media tag will work as expected!