The easiest way to deal with it is to insert the logo image inline rather than as a background image. That way you can apply CSS to the img element itself;
HTML
<div id="logo-container"><a href="http://www.zerocarbonfood.co.uk/test"><img src="http://www.zerocarbonfood.co.uk/test/wp-content/uploads/2013/07/wide-logo-2.png" alt="" /></a></div>
CSS
#logo-container img { width: 100%; height: auto; }
Related Posts:
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- Making an iframe responsive
- Responsive Bootstrap Jumbotron Background Image
- margin-right is not working with my HTML. How can I center my content?
- Display Images Inline via CSS
- Responsive iframe with max width and height
- In a bootstrap responsive page how to center a div
- How to get multiple images to auto resize and stay centered within a div
- How to make canvas responsive
- Import HTML code that loads css and javascript into specific page
- Set line spacing
- create a white rgba / CSS3
- Using CSS for a fade-in effect on page load
- Transition of background-color
- css: how to center box div element directly in center?
- Transitions on the CSS display property
- What’s the HTML to have a horizontal space between two objects?
- HTML/CSS float: left; is not working properly
- How to get current screen width in CSS?
- CSS div width not working
- Positioning background image, adding padding
- CSS Box Shadow – Top and Bottom Only [duplicate]
- Click through div to underlying elements
- Overflow-x not working
- How to set background color in jquery
- CSS – why doesn’t percentage height work? [duplicate]
- CSS Color Filter Overlay
- Assign a Class to the Current “Tag” for Formatting
- Get list of registered or enqued styles? looking for filters or actions
- Use wp_enqueue_scripts, not wp_print_styles?
- wp_get_archives() – Get CSS selector for current month
- Can’t get rid of minify after uninstalling W3 Total Cache [closed]
- How to solve ‘Eliminate render-blocking JavaScript and CSS in above-the-fold’ content for multiple files?
- wp_tag_cloud inline CSS
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- Change CSS when user is logged in
- is it possible to use post-type as part of a css selector in block editor stylesheet?
- Extending content width with twentyfourteen theme
- How to change DASH-ICON color with CSS?
- Sticky navigation and the wpadminbar
- Gutenberg Additional CSS Class without modifying theme?
- Add Post Status to Body Class
- Why does my dissappear?
- Accessing Style Sheet Comment Like WordPress
- wp_enqueue_style – CSS Not loading – ERR_TOO_MANY_REDIRECTS [closed]
- Help with child theme enqueuing additional css files
- Bootstrap in theme
- Website CSS not loading [closed]
- How to align full div [closed]
- Font Awesome icons disappearing [closed]
- Correct Way To Make Changes To A WordPress Theme
- How to change the full capitals font title of my WordPress Blog?
- How to add inline css code with background image in page html code?
- Header background image just stopped working
- Page layout is broken when viewing search results.
- Style file inclusion
- adding the_custom_logo(); to header
- CSS getting injected into index from somewhere after theme/custom CSS is loaded, overriding all of my CSS [closed]
- How do I change the style of just a part of the tagline?
- Having a hard time linking my css and JS files on a Boostrap to WP conversion
- Apply custom css for user role
- Reduce font size [closed]
- override a css style [closed]
- How to avoid repeating similar properties for all tds of a table in a wordpress post
- Using css class selectors on a specifc page [closed]
- Loading bbPress CSS file only on forum directory
- How can I force the WordPress visual editor to preserve the line breaks after paragraphs?
- Override All CSS with Custom CSS on a Page by Page Basis
- padding not working
- Hide Some Fields of Post Submit box
- CSS properties in textarea in the Customizer
- New Styles Not Rendering On Mobile Phone and Tablet
- WordPress default theme CSS version problem and not loading
- Penscratch 2 – changing color of the main block
- how to modify html on homepage (no home-page.php in my theme)
- Remove dashicons.min.css conditionally
- Remove Parent Style on Carousel
- how does additional css rendering work?
- WordPress – Portfolio – Change number of items in a row
- Floated element floats into post content in IE, Safari, and Chrome
- I cannot make this position properly in WordPress [closed]
- How can I pass a variable from PHP to LESS?
- Large Unwanted Space at the Bottom of Blog Posts [closed]
- Create a body div using CSS [closed]
- vertical menu bar css
- After upload on server 404 on all pages, no css
- Strange symbols on page [closed]
- I need css code to divide my webpage sections into two columns
- Images at the same vertical position in multiple columns
- Put CSS on TOP, how?
- I am trying to apply these CSS rules to x3 Post-ID’s but I can’t get it to work – any idea how I can?
- In which file can I find the custom CSS code I entered?
- Some times CSS not Applying
- CSS does not take effects and it doesn’t show in inspect [closed]
- Add Quicksand for mobile devices
- Narrow paragraph block aligned to left of “wrapper”
- Transparent Overlay for Gravity Forms Ajax Spinner
- Remove the main title, but only from the main page
- aos properties ‘invalid’ and not recognised when included as a css class [closed]
- ACF Extended : Disable styles in front [closed]