Child Theme doesn't get CSS changes

This topic has 12 replies, 2 voices, and was last updated 6 years, 3 months ago ago by Rose Tyler

  • Avatar: purplefilm
    purplefilm
    Participant
    January 10, 2018 at 17:21

    Hi! First of all great theme!
    We have just a problem, we’re using a child theme of Legenda and we’re trying to set banner shortcode text in the lower part of banner image, but it doesn’t change.
    Could you help us, please?
    Thanks a lot,
    best regards!

    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2018 at 08:51

    Hello,

    Thanks for the topic.
    Unfortunately, I can’t see your site and banner http://prntscr.com/hyv6o5.
    If you use the child theme, you need to add your custom css code in style.css file. If this not works, we need to explore the problem, so provide temporary wp-admin and FTP access in Private Content.

    Regards

    Avatar: purplefilm
    purplefilm
    Participant
    January 11, 2018 at 09:23

    Sorry, we’re working on it.
    Now the site is online, if you tell me the banner’s text CSS class I try to set the text downer myself 🙂
    Thanks a lot,
    best regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2018 at 09:35

    To find out a needed class, you may simply inspect the page using devtools in chrome browser https://developers.google.com/web/tools/chrome-devtools/inspect-styles/
    If you will need some help with css code, please provide a screenshot for better understanding what exactly needs to be changed.

    Regards

    Avatar: purplefilm
    purplefilm
    Participant
    January 11, 2018 at 09:53

    Our Child style.css doesn’t get changes.
    We tried the main element class (via inspector) but it didn’t work.
    We’d set the text of this demo banner on the left-bottom -> http://lailaki.com/banner.jpg
    Thanks a lot!

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2018 at 10:08

    I do not see the banner on your Home page, please provide me link to page with this banner.
    Also, I can’t login to your Dashboard, check credentials and please provide correct one.

    Regards

    Avatar: purplefilm
    purplefilm
    Participant
    January 11, 2018 at 10:16

    We added it to home.
    New admin data in private

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2018 at 10:39

    On your home page you have 2 banners, to change align of text on this one http://prntscr.com/hywfyb was added extra class http://prntscr.com/hywgah
    To change the position of text block, you may use, for example, this code http://prntscr.com/hywhax

    .banner-inner {
        margin-top: 7%;
    }
    

    (add this in style.css of child theme and do not forget to clear browser cache before checking result).

    Regards

    Avatar: purplefilm
    purplefilm
    Participant
    January 11, 2018 at 11:24

    Hi!
    I’ve added the code in child css.style and I’ve erased the cache, still doesn’t work 🙁
    could you check please?
    thanks a lot!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2018 at 11:34

    The code works fine, but you changed banners, so the code also needs to be changed, for example, http://prntscr.com/hyx7ku please try to do this.

    Regards

    Avatar: purplefilm
    purplefilm
    Participant
    January 11, 2018 at 12:21

    Sorry, we tried and we erased cache but still doesn’t work 🙁

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2018 at 13:12

    In the style.css file via FTP I see this code http://prntscr.com/hyyfhd but on your site via inspector, you may see http://prntscr.com/hyyfrh, so it looks like cache effect. Do you have any server cache?
    Also, in this case, you may add css code in Custom css for page field https://prnt.sc/hyyi6a

    Regards

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.