Home Forums WordPress Plugins Hide My WP hide the contents of theme

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Suman M. 1 week, 1 day ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26101
    ice
    Post count: 3

    hi, how can I hide the contents from one theme?
    e.g. theme =xshop

    can we use another name for such CSS or script code?

    /* HEIGHT OF HEADER CLONE */

    .whb-clone .whb-general-header-inner {
    height: 60px;
    }

    /* HEADER OVERCONTENT */

    .xshop-header-overcontent .page-title {
    padding-top: 115px;
    }

    /* HEADER OVERCONTENT WHEN SHOP PAGE TITLE TURN OFF */

    .xshop-header-overcontent .without-title.title-shop {
    padding-top: 100px;
    }

    /* HEADER OVERCONTENT ON SINGLE PRODUCT */

    .single-product .whb-overcontent:not(.whb-custom-header) {
    padding-top: 100px;
    }

    #26104
    Suman M.
    Post count: 10156

    Hi, it’s actually not recommended to replace CSS class names as it might break the site. But if you need to replace them there’s a way around which needs a bit of coding skill.

    If you want to replace css class name “xshop-header-overcontent” to something like “myshop-header-overcontent”, then you’ll need to add following replacement in “replace in html”:

    xshop-header-overcontent ==> myshop-header-overcontent

    Then copy the css code from respective css file, replace occurrences of “xshop-header-overcontent” with “myshop-header-overcontent”, and add it in “Internal CSS” option in HMWP Source Code tab.

    For example you’ll need to add this:

    .myshop-header-overcontent .page-title {
    padding-top: 115px;
    }

    #26113
    ice
    Post count: 3

    Hi,
    can we also change the style type=”text/css” block like this?
    style type=”text/css”:.page-title-default{a, .xshop-price-table .xshop-plan-title

    1, change replacement in “replace in html”:
    .xshop-price-table ==> myshop-price-table

    2, in HMWP Source Code tab:
    type
    style type=”text/css”:.page-title-default{a, .myshop-price-table .myshop-plan-title, ….}

    #26115
    Suman M.
    Post count: 10156

    Yes, you can. But check the site after adding the replacement.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.