Breadcrumbs image size issues - by Rodrigo

This topic has 8 replies, 2 voices, and was last updated 5 years, 8 months ago ago by Olga Barlow

  • Avatar: Unionfor Web
    Rodrigo
    Participant
    August 10, 2018 at 19:30

    Hello,

    I have problems in the configuration of the image breadcrumbs, in background size I defined “cover” but it is not obeying because when evaluating in the developer panel of the browser it even presents invalid property because it is adding “px” at the end of the word.

    How can I fix this?

    See below the screenshots taken to better understand.

    First – https://gyazo.com/ffd8738d2a798dd33c498a6143f017b1
    Second – https://gyazo.com/70ac34f92aae0768e74f0932fe93c78d

    I await your next interaction!

    Best regards,
    Rodrigo M.

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 13, 2018 at 14:38

    Hello,

    We use the Option Tree framework for options and background-size fields support only numbers by default. So if you want to use cover use the custom CSS in child theme style.css

    .page-heading {
        background-size: cover;
    }

    Regards

    Avatar: Unionfor Web
    Rodrigo
    Participant
    August 13, 2018 at 21:05

    Hello Olga,

    I understood, but it should work that way too, do not you think?

    I did as you stated above in the style.css file of the child theme and did not work, it even came to appear the rule in the browser developer console but was not obeying, as if it had another rule active.

    What do I do?

    I await your next interaction!

    Best regards,
    Rodrigo M.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 14, 2018 at 09:18

    Hello,

    Yes, you are right. We’ll fix it in next theme update. Meanwhile edit royal/framework/theme-functions.php file, find function et_load_bg_option and remove . 'px;'as mentioned on the screenshot
    http://prntscr.com/kidjlw

    Regards

    Avatar: Unionfor Web
    Rodrigo
    Participant
    August 14, 2018 at 15:06

    Hello Olga,

    I did as reported and worked, thank you very much.

    Now just one question, you said that this will be corrected in the next theme update, I already have about 3 corrections that you said they saw in the next theme update.

    Are you sure all these fixes have seen in the next theme update? How are you going to remember all of them, are you noting this?

    Thank you in advance for your support.

    Best regards,
    Rodrigo M.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 14, 2018 at 16:45

    Hello,

    Yes, we have the bugs tracker and I have added this issue to list.

    Regards

    Avatar: Unionfor Web
    Rodrigo
    Participant
    August 14, 2018 at 19:35

    Hello Olga,

    I understand, so I’ll keep an eye on the change log for the next theme update.

    Thank you for your support.

    Best regards,
    Rodrigo M.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 15, 2018 at 16:51

    You are welcome!

    Regards

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

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

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