[Materialize] Header keep ratio height/width
-
Hi everybody,
I have some struggles with the theme Materialize for my header image.
I want to have the height and the width to auto. So when the screen is getting smaller, the width becomes smaller to.Thanks for you help, don’t hesitate to check out the website.
Here is the code for the custom header :
add_theme_support( 'custom-header', array( 'default-image' => get_template_directory_uri() . '/media/_frontend/img/bkg.jpeg', 'random-default' => false, 'width' => 2000, 'height' => 700, 'flex-height' => false, 'flex-width' => false, 'default-text-color' => 'ffffff', 'header-text' => true, 'uploads' => true ));Thx everyone for your help,
Lewis
The blog I need help with is: (visible only to logged in users)
-
Hi Lewis,
There isn’t a theme with that name in the WordPress.com repository. Is your site hosted elsewhere and running on the free software available here at WordPress.org?
The difference between the two types of WordPress (WordPress.com and WordPress.org) is an understandable and common point of confusion. If you’re unsure of the differences, then this guide gives a good overview.
If your site is hosted elsewhere and you’re looking for help customising your third-party theme, then I recommend heading to the support forum for Materialize on WordPress.org:
https://wordpress.org/support/theme/materialize
Hope that helps point you in the right direction!
- The topic ‘[Materialize] Header keep ratio height/width’ is closed to new replies.