Can you give us the site url please.
Don’t hard set width and height attributes ..make them flow to the container like using width:100%;height auto;
Thread Starter
djonik
(@djonik)
here is the site
http://www.djonik.info/wordpress/
width: 100%; height: auto
this is not what i expect – on desktop (1366 x 768px) logo is very big 😉
Thread Starter
djonik
(@djonik)
i solve it – but this is good practice?
style="width: 100%; height: auto; margin: 10px; max-width: 412px; max-height: 95px"
It seems you directly added to the theme ..it gets lost if theme updates ..
try using custom css plugin
As you are adding new element by taking out site title..Create a child theme.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Inine styles are not good practice, use a Custom CSS plugin to hold your CSS modifications (it’ll be in a stylesheet then) http://wordpress.org/plugins/custom-css-manager-plugin
Thread Starter
djonik
(@djonik)
Yes, this is temporary solution. Rather I was thinking about media queries, breakpoints and stuff like that, but I don’t know them yet. Maybe some plugin? I tried http://wordpress.org/plugins/simple-responsive-images/ but it doesn’t work.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Just give your logo a “max-width” of “100%” and you should be fine.
Thread Starter
djonik
(@djonik)
@andrew, thanks. This is the simplest way, only one CSS attribute.