WordPress Page Isn’t Aligning Anymore
-
[ Moderator note: title adjusted, please refrain from using help, urgent, emergency, asap, etc. in topic titles. ]
Hi, I’ve never asked for help with WordPress issues before but I’m in such a rough spot right now and I know someone out there can help me. I use the Shopify Buy button to display products on my WordPress site. I’ve already installed Shopify’s WordPress Plugin to work with the buy button. When I added products into WordPress pages (using Shopify’s “Add Product” button), the products weren’t aligned properly on the page.
After spending countless hours trying to solve this alignment issue, I ended up finding a piece of code that allowed me to align my imported products properly. Then I entered these lines of code in the WordPress text editor. Here is an example:
<div style=”width: 46%; padding: 0 10px 0 0; float: right;”>[Shopify’s embed code 1][ Shopify’s embed code 2]</div>
<div style=”width: 46%; padding: 0 10px 0 0; float: right;”> [Shopify’s embed code 3][ Shopify’s embed code 4]</div>Each set of brackets contains an embed code created by Shopify, which represents each product. When I used this piece of code one after the other, I was able to show products in 4 columns on my desktop site and 2 columns on mobile site. This is exactly how I wanted my products to be displayed.
Then, I installed an app in Shopify and the app somehow ruined the layout on my WordPress page. I actually felt paralyzed by this discovery because I poured so much of my energy and time into solving this one problem and ONE APP did something that changed my layout. Now I have 2 columns showing on my pages with huge blank spaces in between. The strangest thing about all of this is that the code that I used in the text editor did not change at all. However, the page layout is displaying differently. That means something else was changed and I don’t know what it is. Here is a picture of what the layout looks like now:
https://bricwear.com/wp-content/uploads/2016/11/Layout.jpg
Now I am reaching out to any WordPress expert who can help me solve this problem. I’m so confused and discouraged because I don’t know what step to take to revert back to page’s original layout before I installed the app. If further clarification is need, then please let me know. Thank you in advance.
- The topic ‘WordPress Page Isn’t Aligning Anymore’ is closed to new replies.