• sleeneys

    (@sleeneys)


    Hello! I have been using the Virtue Child theme for several years now. About 7 months ago, I wrote in b/c my website changed. I don’t know how or why. When I called my host, they switched it back to the parent theme. I prefer to have the child theme b/c I’ve been told that that’s safer. But it looks bad. The category pics should be smaller and two rows of three across with specific fonts/titles.
    What happened and how can I get it back?
    Thank you!!
    Salina
    https://www.sleeneys.com

    So, here is the CSS that I’ve added to my child theme:
    .footercredits p {
    font-size: 15px;
    font-family: julius sans one;
    text-align: left;
    }

    #topbar-search input[type=text] {
    color: black;
    }
    #topbar-search #searchsubmit {
    color: black;
    }
    #topbar .kad-mobile-nav .form-search :-moz-placeholder {
    color: black;
    }
    #topbar .kad-mobile-nav .form-search ::-webkit-input-placeholder {
    color: black;
    }
    #topbar .kad-mobile-nav .form-search ::-moz-placeholder {
    color: black;
    }
    #topbar .kad-mobile-nav .form-search :-ms-input-placeholder {
    color: black;
    }

    .topbar-widget {
    color: #000000;
    }
    .topbarmenu ul li a {
    color: #FFFFFF;
    }

    .topbarmenu ul li a {
    color: black;
    }

    .topbarmenu ul li a {
    font-size: 16px;
    }

    .topbarmenu ul li a {
    color: black;
    }

    #containerfooter .menu li a {
    font-size: 18px;
    font-family: josefin sans;
    }

    #containerfooter .menu li a {
    background: transparent;
    }

    a:visited {
    color: #33C3ED;
    }

    @media (max-width: 767px){
    #containerfooter .virtue_social_widget {
    width: 50%;
    text-align: left;
    }

    #containerfooter .virtue_social_widget a {
    float: none;
    display: inline-block;
    }
    }

    @media (max-width: 767px){
    .kad_product {
    float: left;
    width: 50%;
    }
    }

    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price {
    text-align: left;
    color: #000000;
    font-weight: 400;
    font-size: 15px;
    }

    #containerfooter .menu li a {
    max-width: 260px;
    }

    #containerfooter .col-md-1 {
    padding-left: 40px;
    }

    if ( isset( $_SERVER[‘HTTP_X_FORWARDED_PROTO’] ) && ‘https’ == $_SERVER[‘HTTP_X_FORWARDED_PROTO’] ) {
    $_SERVER[‘HTTPS’] = ‘on’;
    }

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Kevin

    (@jx-3p)

    Looks like there’s some JavaScript in your CSS area:

    if ( isset( $_SERVER[‘HTTP_X_FORWARDED_PROTO’] ) && ‘https’ == $_SERVER[‘HTTP_X_FORWARDED_PROTO’] ) {
    $_SERVER[‘HTTPS’] = ‘on’;
    }

    Try removing that code from the CSS file and let me know if it works. For just adding custom CSS, you can use the CSS box in Theme Options> Advanced settings. That way you can circumvent the child theme, if you’re only adding CSS.

    -Kevin

    Thread Starter sleeneys

    (@sleeneys)

    Hi Kevin. Thanks so much for your quick reply! I removed that code, but it didn’t work…
    Do you have any other ideas, please?
    Thank you so much!!

    • This reply was modified 7 years ago by sleeneys.
    Thread Starter sleeneys

    (@sleeneys)

    Here is a (Very, I’m sorry!!) long status report, too:

    
    ### WordPress Environment ###
    
    Home URL: //www.sleeneys.com
    Site URL: //www.sleeneys.com
    WC Version: 3.2.0
    Log Directory Writable: ?
    WP Version: 4.9.4
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.31
    PHP Post Max Size: 128 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 4000
    cURL Version: 7.45.0
    OpenSSL/1.0.1e
    
    SUHOSIN Installed: –
    Max Upload Size: 128 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 3.2.0
    WC Database Prefix: wp_
    Total Database Size: 30.89MB
    Database Data Size: 22.73MB
    Database Index Size: 8.16MB
    wp_woocommerce_sessions: Data: 8.85MB + Index: 0.40MB
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_order_items: Data: 0.01MB + Index: 0.01MB
    wp_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.04MB
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.01MB
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB
    wp_comments: Data: 0.05MB + Index: 0.08MB
    wp_es_deliverreport: Data: 0.00MB + Index: 0.00MB
    wp_es_emaillist: Data: 0.00MB + Index: 0.00MB
    wp_es_notification: Data: 0.00MB + Index: 0.00MB
    wp_es_pluginconfig: Data: 0.00MB + Index: 0.00MB
    wp_es_sentdetails: Data: 0.00MB + Index: 0.00MB
    wp_es_templatetable: Data: 0.00MB + Index: 0.00MB
    wp_links: Data: 0.02MB + Index: 0.02MB
    wp_newsletter: Data: 0.00MB + Index: 0.00MB
    wp_newsletter_emails: Data: 0.00MB + Index: 0.00MB
    wp_newsletter_sent: Data: 0.00MB + Index: 0.00MB
    wp_newsletter_stats: Data: 0.00MB + Index: 0.00MB
    wp_options: Data: 3.22MB + Index: 1.05MB
    wp_postmeta: Data: 6.52MB + Index: 5.03MB
    wp_posts: Data: 2.52MB + Index: 0.55MB
    wp_sola_nl_advanced_link_tracking: Data: 0.02MB + Index: 0.00MB
    wp_sola_nl_campaigns: Data: 0.02MB + Index: 0.00MB
    wp_sola_nl_campaign_lists: Data: 0.02MB + Index: 0.02MB
    wp_sola_nl_campaign_subscribers: Data: 0.02MB + Index: 0.02MB
    wp_sola_nl_css_options: Data: 0.02MB + Index: 0.00MB
    wp_sola_nl_link_tracking: Data: 0.02MB + Index: 0.00MB
    wp_sola_nl_list: Data: 0.02MB + Index: 0.02MB
    wp_sola_nl_subscribers: Data: 0.02MB + Index: 0.02MB
    wp_sola_nl_subscribers_list: Data: 0.02MB + Index: 0.03MB
    wp_sola_nl_themes: Data: 0.02MB + Index: 0.00MB
    wp_termmeta: Data: 0.12MB + Index: 0.08MB
    wp_terms: Data: 0.17MB + Index: 0.19MB
    wp_term_relationships: Data: 0.23MB + Index: 0.19MB
    wp_term_taxonomy: Data: 0.16MB + Index: 0.19MB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB
    wp_users: Data: 0.02MB + Index: 0.05MB
    wp_wpmlautoresponderemails: Data: 0.00MB + Index: 0.00MB
    wp_wpmlautoresponders: Data: 0.00MB + Index: 0.00MB
    wp_wpmlautoresponderslists: Data: 0.00MB + Index: 0.00MB
    wp_wpmlbounces: Data: 0.00MB + Index: 0.00MB
    wp_wpmlclicks: Data: 0.00MB + Index: 0.00MB
    wp_wpmlcontents: Data: 0.00MB + Index: 0.00MB
    wp_wpmlcountries: Data: 0.01MB + Index: 0.02MB
    wp_wpmlemails: Data: 0.00MB + Index: 0.01MB
    wp_wpmlfields: Data: 0.00MB + Index: 0.01MB
    wp_wpmlfieldsforms: Data: 0.00MB + Index: 0.00MB
    wp_wpmlfieldslists: Data: 0.00MB + Index: 0.00MB
    wp_wpmlforms: Data: 0.00MB + Index: 0.00MB
    wp_wpmlgroups: Data: 0.00MB + Index: 0.00MB
    wp_wpmlhistoriesattachments: Data: 0.00MB + Index: 0.00MB
    wp_wpmlhistorieslists: Data: 0.00MB + Index: 0.00MB
    wp_wpmlhistory: Data: 0.00MB + Index: 0.00MB
    wp_wpmllatestposts: Data: 0.00MB + Index: 0.00MB
    wp_wpmllatestpostssubscriptions: Data: 0.00MB + Index: 0.00MB
    wp_wpmllinks: Data: 0.00MB + Index: 0.00MB
    wp_wpmlmailinglists: Data: 0.00MB + Index: 0.00MB
    wp_wpmloptions: Data: 0.00MB + Index: 0.00MB
    wp_wpmlorders: Data: 0.00MB + Index: 0.00MB
    wp_wpmlposts: Data: 0.00MB + Index: 0.00MB
    wp_wpmlqueue: Data: 0.00MB + Index: 0.00MB
    wp_wpmlsubscribers: Data: 0.00MB + Index: 0.00MB
    wp_wpmlsubscriberslists: Data: 0.00MB + Index: 0.00MB
    wp_wpmlsubscribersoptions: Data: 0.00MB + Index: 0.00MB
    wp_wpmltemplates: Data: 0.00MB + Index: 0.00MB
    wp_wpmlthemes: Data: 0.09MB + Index: 0.00MB
    wp_wpmlunsubscribes: Data: 0.00MB + Index: 0.00MB
    wp_wysija_campaign: Data: 0.00MB + Index: 0.00MB
    wp_wysija_campaign_list: Data: 0.00MB + Index: 0.00MB
    wp_wysija_custom_field: Data: 0.00MB + Index: 0.00MB
    wp_wysija_email: Data: 0.36MB + Index: 0.00MB
    wp_wysija_email_user_stat: Data: 0.01MB + Index: 0.01MB
    wp_wysija_email_user_url: Data: 0.00MB + Index: 0.00MB
    wp_wysija_form: Data: 0.00MB + Index: 0.00MB
    wp_wysija_list: Data: 0.00MB + Index: 0.00MB
    wp_wysija_queue: Data: 0.00MB + Index: 0.00MB
    wp_wysija_subscriber_ips: Data: 0.00MB + Index: 0.00MB
    wp_wysija_url: Data: 0.00MB + Index: 0.00MB
    wp_wysija_url_mail: Data: 0.00MB + Index: 0.00MB
    wp_wysija_user: Data: 0.01MB + Index: 0.01MB
    wp_wysija_user_field: Data: 0.00MB + Index: 0.00MB
    wp_wysija_user_history: Data: 0.00MB + Index: 0.00MB
    wp_wysija_user_list: Data: 0.00MB + Index: 0.00MB
    wp_yoast_seo_links: Data: 0.01MB + Index: 0.01MB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.02MB
    
    ### Post Type Counts ###
    
    attachment: 2633
    custom_css: 1
    customize_changeset: 3
    nav_menu_item: 43
    page: 24
    post: 18
    product: 918
    revision: 61
    safecss: 1
    shop_coupon: 11
    shop_order: 40
    shop_order_refund: 1
    wpcf7_contact_form: 1
    wpcr3_review: 5
    wysijap: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (23) ###
    
    Akismet Anti-Spam: by Automattic – 4.0.3
    Black Studio TinyMCE Widget: by Black Studio – 2.6.1
    Child Theme Configurator: by Lilaea Media – 2.2.8.1
    Contact Form 7: by Takayuki Miyoshi – 5.0
    Google Analytics Dashboard for WP (GADWP): by Alin Marcu – 5.2.3.1
    Hostgator WalkMe Plugin: by Snappy – 1.0
    Homepage Control: by WooThemes – 2.0.3
    HTTP / HTTPS Remover: by CONDACORE – 1.5.3
    Jetpack by WordPress.com: by Automattic – 5.8
    MOJO Marketplace: by Mike Hansen – 0.7.1
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.0.2
    Simple Share Buttons Adder: by Simple Share Buttons – 7.4.12
    Page Builder by SiteOrigin: by SiteOrigin – 2.6.2
    Storefront Jetpack: by PootlePress – 1.0.0
    Velvet Blues Update URLs: by VelvetBlues.com – 3.2.8
    Kadence Toolkit: by Kadence Themes – 4.8
    WooCommerce Simplify Commerce Gateway: by  – 1.0.4 – Not tested with the active version of WooCommerce
    WooCommerce Google Analytics Integration: by WooCommerce – 1.4.3 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.2.0 – 3.3.3 is available
    Yoast SEO: by Team Yoast – 6.3.1
    WP Customer Reviews: by Go Web Solutions – 3.1.5
    WP Fastest Cache: by Emre Vona – 0.8.7.7
    MailPoet 2: by MailPoet – 2.8.1
    
    ### Settings ###
    
    API Enabled: ?
    Force SSL: ?
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #5 - /shop/
    Cart: #6 - /cart/
    Checkout: #267 - /checkout/
    My account: #8 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Virtue Child
    Version: 1.0.1436228276
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Virtue
    Parent Theme Version: 3.1.8
    Parent Theme Author URL: https://kadencethemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: virtue/woocommerce/archive-product.php
    virtue/woocommerce/content-product.php
    virtue/woocommerce/content-product_cat.php
    virtue/woocommerce/content-single-product.php
    virtue/woocommerce/loop/loop-end.php
    virtue/woocommerce/loop/loop-start.php
    virtue/woocommerce/loop/price.php
    virtue/woocommerce/loop/rating.php
    virtue/woocommerce/loop/sale-flash.php
    virtue/woocommerce/single-product/add-to-cart/external.php
    virtue/woocommerce/single-product/add-to-cart/grouped.php
    virtue/woocommerce/single-product/add-to-cart/simple.php
    virtue/woocommerce/single-product/add-to-cart/variable.php
    virtue-child/woocommerce/single-product/price.php version 2.4.9 is out of date. The core version is 3.0.0
    virtue/woocommerce/single-product/product-image.php
    virtue/woocommerce/single-product/product-thumbnails.php
    virtue/woocommerce/single-product/sale-flash.php
    virtue/woocommerce/single-product.php
    virtue/woocommerce/taxonomy-product_cat.php
    virtue/woocommerce/taxonomy-product_tag.php
    
    Outdated Templates: ?Learn how to update
    
    hannah

    (@hannahritner)

    Hi @sleeneys,
    Did you try clearing your cache after removing the code? What else have you added to your child theme?

    Hannah

    Thread Starter sleeneys

    (@sleeneys)

    Hello Hannah. Thank you for helping! I just cleared the cache and it did not change anything…

    Theme Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    It looks like in your child theme you are overriding the header.php file. You need to remove that from your child theme. You really shouldn’t override files unless you absolutely have to. Regardless that is your issue. Your header file is missing the call for all the head content.

    I prefer to have the child theme b/c I’ve been told that that’s safer

    That’s not actually totally true. You only need a child theme if you need to edit code. So if you don’t need to edit any code then you should not use a child theme.

    Thread Starter sleeneys

    (@sleeneys)

    Thank you so much! Ok, I am ignorant… where do I find the CSS? I know where the Custom CSS is, but where is the basic/main CSS, please?
    Thank you!

    hannah

    (@hannahritner)

    Hi,
    You don’t need to edit the themes css. What have you added into your header.php in your child theme? That’s what you need to remove.

    Hannah

    Thread Starter sleeneys

    (@sleeneys)

    Hi Hannah. Thank you so much! I removed this (from the Virtue Child headed php):

    <?php
    /*
    Empty on purpose.

    – Force plugins to stop stating incorrect errors –
    <?php wp_head(); ?>
    */

    and the website has not changed. What am I doing wrong?!!
    THANK YOU!!

    • This reply was modified 7 years ago by sleeneys.
    hannah

    (@hannahritner)

    Have you cleared your cache after removing?

    Hannah

    Thread Starter sleeneys

    (@sleeneys)

    Hi Hannah. Thank you so much for your reply!
    I did clear the cache. I went to Develop, then Clear Caches. Nothing changed, it’s still messed up… Any other ideas? What is the world has happened?!
    Thank you for helping me!
    Salina

    Kevin

    (@jx-3p)

    Are you using the child or parent theme at this point? Since you’re only editing CSS, you should use the parent theme, and add all custom CSS in Theme Options> Advanced settings.

    Try simply activating the parent theme and moving all of your custom CSS to the theme options area. Let me know if your site functions correctly then.

    -Kevin

    Thread Starter sleeneys

    (@sleeneys)

    Hi Kevin!

    I’m using the child theme. I switched it back to the parent theme and added the custom css, which I had before. Now it is back to the original problem – the product photos are different sizes. I have disabled the cropping b/c it cuts out some of the jewelry. I just need all of my product pics to be the same size that is not cropped/cut off.

    Thank you for helping me!

    https://www.sleeneys.com/wp-admin/themes.php?page=ktoptions

    • This reply was modified 7 years ago by sleeneys.
    Kevin

    (@jx-3p)

    Try going to Appearance> Customize> WooCommerce, and go into the “Product Images” area. Then adjust the settings for the thumbnail images, then let me know if you’re able to get the images looking how you want.

    -Kevin

    Thread Starter sleeneys

    (@sleeneys)

    Thank you so much, Kevin. The cropping is still off. It is still messed up. The product pics are still different sizes and some are cropped. UGH…. What happened 7 or so months ago? Everything was fine and then, boom, something changed.
    Thank you SO much!!!

    Should I regenerate my photos?

    • This reply was modified 7 years ago by sleeneys.
Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Virtue Child Theme Changes’ is closed to new replies.