Tagged: x
-
AuthorPosts
-
April 2, 2016 at 11:46 am #863901
Hi, after updating X theme, some of my CSS edits doesn’t work any more.
examples:
.x-topbar {background-color: #000000;} – but the topbar background is white, not black…
form.cart {display: none;} – this code did the trick to hide the “add to cart” button, but now the button is there…
What can I do?
Thanks,
AndreiApril 2, 2016 at 11:57 am #863915This reply has been marked as private.April 3, 2016 at 1:05 am #864362Hey Andrei,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
April 3, 2016 at 1:06 am #864364Meanwhile, I deactivated WMPL translation management, WPML Media and WPML Woocommerce, and the custom CSS is working now.
Strange, though… It seems I am not able to use these plugins…April 3, 2016 at 8:42 am #864676Hi there,
Would you please activate those plugins and provide us with login credentials so we can take a closer look?
Thanks.
April 3, 2016 at 9:37 am #864706This reply has been marked as private.April 3, 2016 at 9:46 am #864707This reply has been marked as private.April 3, 2016 at 9:37 pm #865260Hello Andrei,
Thanks for getting back to us. I have investigated your site and it seems that most of the css has been modified and have been added a character
n
like this:nnform.cart {ndisplay: none;n}
. I went ahead and updated the css and use this:.x-colophon { background-color: #fff; } .x-navbar .desktop .x-nav > li ul { top: 54px; } form.cart { display: none; } .woocommerce div.product p.stock, .woocommerce-page div.product p.stock, .woocommerce #content div.product p.stock, .woocommerce-page #content div.product p.stock { color: #ed1c28; font-size: 20px; } .desktop .x-nav .x-megamenu > .sub-menu > li { margin: -10px 0; } .pp_top .pp_middle, .pp_bottom .pp_middle { height: 0px; left: 0px; position: absolute; right: 0px; } .pp_top .pp_left, .pp_bottom .pp_left { height: 0px; left: 0; position: absolute; width: 0px; } .tp-caption a { color: #fff; } .woocommerce li.product .entry-header .button, .woocommerce-page li.product .entry-header .button { display: none!important; font-size: 14px; left: 0; margin: 0; opacity: 0; padding: 0.45em 0.5em 0.575em; position: absolute; right: 0; top: -65px; } .x-topbar { background-color: #000; }
And still it is not working because the character
n
came back. I’ve investigated further and found out you are using PHP version 5.2.17 and WordPress 4.3 requires at least 5.4. This could possibly be the cause of the issue. In most cases you cannot update your PHP version yourself and need to contact your host about this. The upgrade process is an easy process and should be something your host can do for you without affecting your website or charging you for it. Here’s a letter you can send to your hosting company:Dear host, I\'m interested in running the open-source WordPress <https://wordpress.org/> web software and I was wondering if my account supported the following: PHP 5.6 or greater MySQL 5.6 or greater The mod_rewrite Apache module Looking forward to your reply.
Hope this helps. Kindly let us know.
-
AuthorPosts