Can’t see hero image

  • Author
    Posts
  • #110602

    Hi all!

    At the start – thank you for great work designing Bravada. Looks very nice!

    My problem with images is:
    – fresh installed WordPress
    – only one new installed Bravada theme
    – no other plugins jet.

    I can’t see hero image (Mac, Opera, Firefox, Safari) on its place – in dev console I see img src OK.
    I’ve tried header image, banner image options – no effect. Serious slider show images. Where is the problem?

    Website: cutt.ly/JhMzfh0

    #110672

    In my case – there is problem with OPACITY settings in Customise -> Colors -> Header, down. Changing opacity to 0% – header image is vievable. Changing to 1% or 10% or 50% – image is covered by Overlay permanently.

    #110674

    Please check in

    <style id=”bravada-main-inline-css”>…</style>

    there is opacity parameter with typo – when you change the value of opacity in admin (previous post) to 3%, in CSS there is opacity: 0,03, should be 0.03 (with dot instead comma).

    #110837
    Zed
    Cryout Creations mastermind

    Hi!

    I split your messages to a separate topic as this is distinct from the original topic.

    The opacity value is automatically generated by the PHP running on your hosting server as it is the result of the simple arithmetic of dividing the opacity percentage to 100.
    opacity: <?php echo esc_html( $theme_overlayopacity/100 ); ?>
    We have been reported a similar issue once before here, and it turned out to be due to PHP configuration (most likely something about localization).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #110902

    Could it be a solution? I am not PHP specialist, but works for me:
    opacity: <?php echo esc_html(str_replace(“,”,”.”, $theme_overlayopacity/100)); ?>;

    Can you implement pro solution based on this unprofessional tip?

    #110905
    #110989
    Zed
    Cryout Creations mastermind

    Number formatting functions in PHP need to take a float input number, and this is the same problem with using that number directly in the CSS – it can have either a comma or a dot for decimals separator depending on regional settings.

    We’ll have to run some additional tests to see if number_format() can be a solution.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Can’t see hero image’ is closed to new replies.