-
AuthorPosts
-
August 27, 2015 at 9:26 pm #494455
Hi Kriesi team!
I’m in the process of replacing an ugly and loadtime-hogging pricing table on my site.
I have the html and CSS style code (see below). I created a code box with the advanced page editor on my test page and threw this in. The table looks great on various wysiwyg editors and the site I got it from, however, when I load this into my page, it’s all wonky. I’m using Enfold Child theme.
Pic 1 is how it is supposed to look.
https://picasaweb.google.com/lh/photo/qja1UzocOA6bs6xiOp7CrkXEwIN14nHUiOmhoBiRzDk?feat=directlink
Pic 2 is how it looks on my test page.
https://picasaweb.google.com/lh/photo/27aaSWHSAzJQNX1a6P7wNEXEwIN14nHUiOmhoBiRzDk?feat=directlinkhttps://rallyforlocal.com/test
Am I doing something wrong? Is it the theme that is wonking things out (namely in the header colors, price size, margins and offset inside the borders)? If yes, can you please advise?
Here’s the code I used:
<div id="pricing-table" class="pricing-table"> <ul> <li class="heading">Basic</li> <li class="price">Free</li> <li>-</li> <li>Basic Business Hours </li><li>1 Category </li><li> Short Business Description (250 Characters)</li><li>1 Photo </li><li> Tags (40 Characters)</li><li> 1 Website/Shop Link</li><li> 1 Social Media Link</li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li> <li class="action"><a href="https://rallyforlocal.com/add-listing/?listing_type=gd_place&package_id=1">Sign Up Now</a></li> </ul> <ul> <li class="heading">Patron</li> <li class="price">$9.95</li> <li>(per month)</li> <li>Basic Business Hours</li><li> 2 Categories</li><li>Med. Business Description (1000 Characters)</li><li> 10 Photos</li><li>Tags (100 Characters) </li><li> 2 Website/Shop Links</li><li> 4 Social Media Links</li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li> - </li><li>Linked Events </li><li>Promotional Materials</li><li> Light Social Marketing</li><li> - </li> <li class="action"><a href="https://rallyforlocal.com/add-listing/?listing_type=gd_place&package_id=7">Sign Up Now</a></li> </ul> <ul class="feature"><li class="heading"> Local Hero</li><li class="price"> $19.95</li><li>(per month) </li><li> Enhanced Business Hours</li><li> 4 Categories</li><li>Lengthy Business Description (Unlimited)</li><li> 40 Photos</li><li>Tags (300 Characters)</li><li>4 Website/Shop Links </li><li>10 Social Media Links </li><li> Featured Listings</li><li>Detailed Amenities</li><li> Upload Catalogs & Menus</li><li>Embed YouTube Videos </li><li>Create Printable Coupons </li><li>Front Page Logo Scroll </li><li> Linked Events</li><li>Promotional Materials </li><li>Robust Social Marketing</li><li>Blog Post </li><li class="action"><a href="https://rallyforlocal.com/add-listing/?listing_type=gd_place&package_id=8">Sign Up Now</a></li></ul><ul><li class="heading">Civic Leader </li><li class="price">Free </li><li>(Nonprofits & Clubs Only) </li><li>Basic Business Hours </li><li> 2 Categories</li><li>Lengthy Nonprofit/Club Description (Unlimited)</li><li> 20 Photos</li><li> Tags (100 Characters)</li><li>1 Website/Shop Link</li><li>10 Social Media Links </li><li> - </li><li> - </li><li> Upload Brochures/Docs</li><li>Embed YouTube Videos </li><li> - </li><li> - </li><li>Linked Events</li><li>Promotional Materials </li><li>Robust Social Marketing</li><li> Blog Post</li><li class="action"><a href="//rallyforlocal.com/add-listing/?listing_type=gd_nonprofits">Sign Up Now</a></li></ul> <link href="http://fonts.googleapis.com/css?family=Abel" id="google-font-selector" rel="stylesheet" type="text/css"></div> <style> .pricing-table ul{ border-width: 1px; border-style: solid; border-color: #CCCCCC; border-radius: 3px; margin: 3px; width: 220px; text-align: center; list-style: none; float: left; padding: 5px; background-color: #FFFFFF; } .pricing-table ul li{ padding: 4px; background-color: #EFEFEF; border-width: 2px; border-color: #B83737; border-radius: 0px; border-bottom-width: 2px; font-size: 14px; } .pricing-table li:nth-child(odd){ background-color: #F7F7F7; } .pricing-table ul .heading{ color: #F68F29; font-size: 28px; background: #58585A; background: -moz-linear-gradient(top, #58585A 0%, #58585A 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#58585A), color-stop(100%,#58585A)); background: -webkit-linear-gradient(top, #58585A 0%,#58585A 100%); background: -o-linear-gradient(top, #58585A 0%,#58585A 100%); background: -ms-linear-gradient(top, #58585A 0%,#58585A 100%); background: linear-gradient(to bottom, #58585A 0%,#58585A 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#58585A', endColorstr='#58585A', GradientType=0 ); } .pricing-table ul .price{ color: #FFFFFF; background-color: #58585A; font-size: 40px; } .pricing-table ul .action{ font-size: 14px; color: #2A6496; } .feature{ -webkit-transform: scale(1.1); transform: scale(1.1); box-shadow: 3px 5px 7px rgba(0,0,0,.7); } .pricing-table .action a{ border-color: #F68029; border-width: 0px; border-radius: 14px; background-color: #F68029; padding-top: 5px; padding-bottom: 5px; padding-left: 16px; padding-right: 16px; border-style: solid; color: #FFFFFF; } </style>
Thanks so much! I truly appreciate your time and expert advice!
Cheers, KrisAugust 27, 2015 at 9:49 pm #494465August 28, 2015 at 10:26 pm #495118Hi Josue, Thank you.
I have the Child Theme set to auto-update.
When I tried Update Theme manually, it keeps saying I already have the latest version.
What is the best way to proceed? Thanks
KrisAugust 29, 2015 at 12:46 am #495141Hi!
Please try doing it via FTP:
Best regards,
JosueAugust 29, 2015 at 9:45 pm #495375OK. I replaced old Enfold folder with new Enfold folder via FTP. I did it more than once to make certain…in fact I did this about 10 times!
Nothing changes at all. It doesn’t even say that it is the updated version on the backend.
I even got help from my host to do this.I made certain that I had the new version as I checked the Version read me file.
Can you please advise? I still have the same problem.
Thanks so much,
KrisAugust 31, 2015 at 1:42 pm #495767Hi,
The Enfold parent is still old, version 3.0.8, so whatever you did 10 times didn’t seem to work. Could you try to follow the guide again or give us FTP access please?
Regards,
RikardAugust 31, 2015 at 8:26 pm #496079I quadruple-checked to make sure the new downloaded enfold file is the new Aug 20 version. I again tried several times to overwrite the old enfold folder with the new one via FTP. I followed the video instructions guide EXACTLY. Nothing changed.
Finally, It APPEARS that I have the new version. https://goo.gl/photos/R4dMmqwW41LX6r6t9
And it looks like the folders updated (see dates on Enfold folders): https://goo.gl/photos/StZ82SkMEhWh4FRt6
However, if you open up the folders, they are STILL not updated as they have the old date: https://goo.gl/photos/CCT7bQhmc59P8T8R9
WTF?The original problem still exists with the html/css pricing table.
https://rallyforlocal.com/testALSO, now I have FATAL ERRORS on some of my pages! https://goo.gl/photos/kZoVL2kybof7NSES7
https://rallyforlocal.com/businesses
I get this in the address bar for my businesses page:
https://rallyforlocal.com/business/<br/><b>Fatal error</b>: Call to undefined function avia_backend_get_post_type() in <b>/home4/localgal/public_html/wp-content/themes/enfold/config-woocommerce/admin-options.php</b> on line <b>165</b><br />
https://rallyforlocal.com/events
https://rallyforlocal.com/nonprofitsPlease help. I just don’t understand why something so simple, has become seemingly impossible and effed-up.
I was set to launch tomorrow! :(
Thank you for your assistance,
KrisSeptember 1, 2015 at 6:43 pm #496608Hi!
try to deactivate all plugins to check which one is causing this issue. If that does not help there might be some corrupted files and in this case you need to delete (again) all theme files via FTP before getting a fresh copy from your themeforest account.
I hope this will help you.
Cheers!
AndySeptember 1, 2015 at 11:18 pm #496765For the pricing table, I had already checked to see if any of the plug ins were affecting it from showing as it should before I even initiated this post and deducted that it was possibly the theme that was keeping it from viewing correctly.
While trying to update the theme via FTP, I WAS working from a ‘fresh’ download from my Themeforest account.
I followed your advice and deleted the theme and replaced with new version using FTP. Why the darn thing would never overwrite in the first place is beyond me. I know how to overwrite files and for some inexplicable reason it just was not going to work. Deleting the theme ended up breaking the connection with the Child theme so it too disappeared. I re-installed that one too after sobbing, fearful I had lost all my settings.
I managed to get most things back except most of my widgets that I have to redo.
Imagine my surprise when I refreshed the pricing table and it still has the same problem. I moved it from a test page to here: rallyforlocal.com/join-now
I went through the whole deactivate plug-in process again to see if anything was affecting it now. Woocommerce does slightly alter the gray portion of the header a bit and increases the price font, but it’s still messed up if I deactivate WooCommerce.
I’ve also tried
–Add html only to codebox and add CSS to stylesheet,
–add html and CSS to codebox but put CSS in <style> </style> tags.
–add html only to codebox and add CSS to custom CSSsame thing different day. Can you please advise?
Thank you for your time.September 4, 2015 at 12:40 pm #498291Hi!
seems that the code in code block element is wrong, because I tried your code in my own installation and I get the same result. Why aren’t you using the ALB to create a pricing table?
I think you could try to use border values in your code, something like:
.pricing-table ul .price { border-right: #58585A 50px solid; border-left: #58585A 50px solid; }
Best regards,
Andy- This reply was modified 9 years, 2 months ago by Andy.
September 8, 2015 at 10:13 pm #500128Thank you, Andy. I appreciate and value your time and suggestions.
Cheers, Kris -
AuthorPosts
- The topic ‘Is the theme preventing this from viewing correctly?’ is closed to new replies.