• dt84

    (@dt84)


    On the original MyKnowledgeBase theme the default header image is cropped and floats to the left.

    I’d like to add a header image that spans the width of the webpage but every time I add a larger image it still forces me to crop to 600px width. Can you tell me where in the CSS I can force it to allow a larger width for the header image?

Viewing 1 replies (of 1 total)
  • Theme Author Guido

    (@guido07111975)

    Hi,

    You can do it with CSS only… but it’s not very clean:

    
    .image-homepage {width:100%;}
    .sidebar-homepage {display:none;}
    

    Why not clean? Now homepage sidebar is hidden.

    You can also make those changes in theme itself:
    1) change image-homepage width in file style.css
    2) remove all sidebar-homepage code from files style.css, header.php and functions.php

    But you will loose these changes when theme gets updated.

    The best way is to create a child theme, but this is much more work and result is the same…

    Guido

Viewing 1 replies (of 1 total)
  • The topic ‘Header Image Larger Width Needed’ is closed to new replies.