-
AuthorPosts
-
December 22nd, 2020 at 19:29 #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
December 23rd, 2020 at 15:29 #110672In 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.
December 23rd, 2020 at 15:40 #110674Please 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).
December 26th, 2020 at 19:11 #110837ZedCryout Creations mastermindHi!
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.December 27th, 2020 at 13:35 #110902Could 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?
December 27th, 2020 at 14:00 #110905Or maybe better solution,
https://www.php.net/manual/en/function.number-format ?December 28th, 2020 at 14:32 #110989ZedCryout Creations mastermindNumber 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. -
AuthorPosts
The topic ‘Can’t see hero image’ is closed to new replies.