Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Multiple theme errors (faulty code)

validation bug
    • 5 years, 8 months ago Monika
      Participant

      Hi,

      I’ve spent a few hours trying to get the theme to validate on W3C and had to fix the following two bugs in your core php:

      • setting multiple IDs instead of class name in vc_templates/vc_row.php (line 296) :

      faulty: echo ‘<div ‘.( (!empty($class))?’id=”‘.$class.'”‘:”).’ style=”position: absolute;top: 0;”></div>’;

      corrected:  echo ‘<div ‘.( (!empty($class))?’class=”‘.$class.'”‘:”).’ style=”position: absolute;top: 0;”></div>’;

       

      • setting padding even if no custom padding was set resulting in a “padding:” validation error in vc_templates/vc_column.php (lines 71-74)

      faulty: $extra_style .= ‘padding:’.$column_padding;

      corrected: if($column_padding != ”) $extra_style .= ‘padding:’.$column_padding.”;”;

       

      Unfortunately, there is one bug I can’t fix – as replacing the faulty code does not work in this case

      • setting letter-spacing value without metrics in css/dynamic_styles.css

      faulty: <span style=”color: #000000; font-family: monospace; font-size: medium; white-space: pre-wrap;”>.woocommerce-page ul.products li.product h6{text-transform:uppercase;letter-spacing:1.5;</span>

      Which is weird because we do not use any woocommerce, and since it is dynamically generated I can’t fix this. Maybe you can. Or add the option to unload bulks of unnecessary css in the theme options, e.g. woocommerce, animation stuff, etc… for basic implementations of your theme.

      • This topic was modified 5 years, 8 months ago by Monika.
    • 5 years, 8 months ago Mirela
      Participant

      Hello,

      Theme code is not faulty and it’s tested from the Envato team as well to ensure security and compatibility with the latest technologies.

      Did you have any problem implementing any feature of the theme? Do you have any third party plugin installed?
      Please do not change theme’s core files otherwise we can not help you.

      https://support.codeless.co/?page_id=4207
      https://themeforest.net/page/item_support_policy

      Best regards!

Viewing 1 reply thread

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password