daydull
Forum Replies Created
-
@shameemreza Thanks for the reply. My woocommerce and other limited plugins are fully updated.
While I agree it probably makes sense for Gmail to make a fix here, let’s be honest–Google isn’t going to listen or make any change.
By posting this, I was hoping the Woocommerce team could take a look and make the changes needed to fix this for Gmail. If it were a niche case with a rarely used client I would understand, but Gmail is ultra-common.
To verify, could you or any other Woocommerce users test a “new order” email and see if it ends up right aligned when images are not displayed, in Gmail?
And, just guessing, but is it possible that Woocommerce emails have something to do with the alignment of the table that’s tied to the CSS of the image, or maybe the image’s row in the table? Maybe most clients just don’t load the image file, but Gmail decides not to load any CSS connected to the image too? (Just a guess)
Below is a screenshot. As mentioned so far in my testing it only does this in Gmail, and only when images are NOT displayed (a Gmail built-in security measure.)
Once I click the “display images below” option near the top left, the table gets centered and everything looks normal.
That did not work, it ended up just slightly increasing the space underneath %price %prime line, above the Amazon buy button.
After some fiddling it seems something is inserting a <p> tag around %price and %prime wherever they are placed. For example if I order them %price %reviews %prime (all on one line in the settings) it renders them all on separate lines because %reviews is in the middle of %price and %prime. Maybe something to do with the <span> tags that are around them? I’m just guessing.
Oh well, I have just moved %reviews% back up into the paragraph with the description and it looks okay there I suppose.
If you have any other ideas I would try them, otherwise thanks for the help.
I did not place a p tag around price, and there is not one shown in the “Item Format” box in the plugin settings. I see in the html inspector that one shows up there, but it’s not through something I am doing. I assume this plugin is doing it?
Here is the current contents of the “item format” box in the amazon auto links settings:
<div class="amazon-auto-links-product"> <div class="amazon-auto-links-product-image" style=""> %image% %image_set% </div> <div class="amazon-auto-links-product-body"> %title% %description% %rating% %price% %prime% %button% </div> </div>Thanks, the CSS for #2 worked great for left aligning the button. #3 I understand, not a big deal.
As for #1, (%ratings won’t stay on the same line with %price and %prime) – I mentioned in my post that I had temporarily moved it around when I posted. You might have missed that. Sorry for the confusion.
I’ve switched it back now so you can see how it looks with %rating% %price% %prime% all on one line after the description. Same link from the first post. When they’re all on one line in that order, the rating is moved up to be at the end of the description? I don’t understand why.
I also tried on one line: %price% %prime% %ratings (ratings at the end.) In that case it moves ratings down to a new line.
I inspected the css and the rating, prices, and prime all seem to have display: inline-block; applied to them
Thanks for the quick helpful reply last time 🙂
Forum: Plugins
In reply to: [Social Media Share Buttons] Plugin broke 6 different websitesI just disabled the plugin and suddenly I am getting “Error establishing a database connection” for the entire site. Is this similar to what you experienced? How did you resolve?
Edit: logged in via ftp as you mentioned and deleted the plugin directory. The website was instantly working normally after I did that.
- This reply was modified 6 years, 6 months ago by daydull.
I believe I fixed it.
I just went to edit the plugin in WordPress and searched for “Share List” in all of this plugin’s files. It was in 2 or 3 locations and I deleted that small section wherever I found it. For example I deleted the following from the file sgmbwidget.php
<span class=”sgmbButtonListLabel’.@$data[‘id’].'”>Share List</span>
Everything else seems to be working fine still and now my automatic post excerpts don’t start with “Share List”.
Do you plan to update the plugin to fix this issue for everyone else (or if I were to install it on another site?)
Thanks
@popup-by-sygnoos
I have sent an email with the requested information. Looking forward to your response, thanksYou’re absolutely right. Checked my plugins list and updated “subscribe to comments” plugin and the problem was apparently fixed via the update. Did not remember installing that plugin to be honest.
Thanks again @denzel_chia very helpful
Forum: Themes and Templates
In reply to: [Hueman] Non-sticky top nav bar with Non-boxed layout?Great, thanks!
I had to update the Hueman theme to the latest version but now see that option is there and it works perfectly. Thanks for the help!Hi, it is nice to see a reply. For the header it has been a while, but I wanted to have a logo image with the text underneath it for a tagline but was not able to do that. I think it made the header too tall.
For the background of the header I wanted to have a large background image that filled the whole header area, and have the a .png logo with transparency on top of that. I had to do some tweaks to get that to work. it would have been extremely nice if there was an option to have both a header background image and a logo at the same time. If I remember right, I think it was one or the other.
Again it’s been a little while so I don’t remember the specifics of what I did, but you can look at how it’s set up on daydull.com right now. When I started, I was rusty with CSS so it took me a little while to get refreshed. For a full time web designer it might be easy tweaks.
Nevermind, I found the option for this as “featured post” found in Customize > Main Body […] > Posts Lists Design and Content […]
Forum: Themes and Templates
In reply to: [Hueman] How to show the Post Featured Image in postsThanks @marikamitsos yes that seems to work fine, thanks! 🙂
Switched back to standard post format and the featured image now appears just fine after adding that code to the child theme
I believe themes used to do it this way a long time ago, before “featured image” was actually implemented in wordpress. It would take the first image in a post and use that as the thumbnail when the article was shown in other spots, like the categories list. At least my old theme that was last updated a few years ago did it this way.
Most modern themes currently show the featured image as the first picture in your post. (So this would be the reverse of what you requested, but would have the same result.)
You can currently do this in the Hueman theme by selecting “image” as the post type when you are creating a new post, then add a featured image. It will be shown at the top of your post.
However I recently posted a topic about this, hoping that there is another solution, because it doesn’t seem to make sense to use an image post type in regular articles.
- This reply was modified 9 years, 1 month ago by daydull.
Forum: Themes and Templates
In reply to: [Hueman] Post Featured Image not showing in post viewI temporarily have done a similar thing to get the featured image to show. However I hope its just a temporary fix if I switch themes in the future I’m guessing it will cause problems to have all of my articles set as an “image” format. Also not sure if that has any effect on SEO stuff mis-categorizing my content as an image gallery when its actually an article?
I hope the hueman theme author will modify the way this works or let us choose using a checkbox.
I’m not sure if I’m wrong in thinking that pretty much everyone would want their featured image shown on a standard post, so I’m not sure why the theme author would have it set this way.
- This reply was modified 9 years, 1 month ago by daydull.