Responsive image in site branding
-
Hello there,
I have changed the background in site-branding on my child theme for Twenty-fifteen. I used this code
.site-branding {
background: url(‘https://islet.dk/neptun/wp-content/uploads/2015/01/neptun_logo.png’) 0 0 no-repeat;
width: 244px;
height: 244px;
}and it works fine. I had to change the button secondary-toggle using
.secondary-toggle {
top: 10%;
left:100%;
}
to place the button outside the image, on smaller screens. And I like the look of it there.However, if I could make the background
– link to the frontpage on click
– responsiveI would be very, very happy.
I know it’s not responsive because I use width and height, but it’s the only way I can make the image show.
Regards,
- The topic ‘Responsive image in site branding’ is closed to new replies.