Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #631455

    Hi I have a header image in a color section that I want to give a max width. I have tried using a developers section id of robHeader and this css in theme options but it doesn’t work:

    #robHeader  .container {
        max-width:1600px!important;
    }

    This is the page:
    http://thegatheringbarn.co.uk/about-the-venue/

    #631870

    Hi fanlokbun,

    Looks like we have to be logged in to be able to view the site? Please post admin login details in private.

    Thanks,
    Rikard

    #631992

    Sorry guys what a numpty.
    Log in below good for 7 days.
    Thanks
    Rob

    #632472

    Hi,

    I’m not sure why that is not applying, everything looks right to me. I tried adding it to the top of your Quick CSS but it still doesn’t apply. Do you know if there is any caching being applied from your hosting provider?

    Regards,
    Rikard

    #633675

    Hi Rikard,
    I have confirmed with the host and no caching is being applied.
    Thanks
    Rob

    #634412

    Hi,

    Please change your code to following one

    #robheader .container {
        max-width: 1600px!important;
    }

    Best regards,
    Yigit

    #634623

    Sorry Yigit, I tried it but still not working :-(

    #634629

    Hey!

    It applies fine on my end, attached a screenshot in private content field.

    Please flush browser cache and refresh your page a few times – http://wiki.scratch.mit.edu/wiki/Hard_Refresh

    Regards,
    Yigit

    #634664

    I’ve cleared the cache in Firefox and I’ve tested it in Chrome for the first time and the header image is still full width. The screenshot you sent is of the css code. I can’t tell from that whether it looks okay on your screen or not.

    Here’s a grab of Chrome the first time it has been to the site.
    https://www.dropbox.com/s/ez3lzjqksq6jjn2/grab-160518.jpg?dl=0

    Thanks
    Rob

    #635282

    Hi,

    I added this code into your Quick CSS field and now it’s working as expected. Can you confirm please?

    #robheader {
    max-width: 1600px;
    }
    

    Best regards,
    Andy

    #635856

    Thanks Andy nearly there.
    It now works but it aligns to the left. It needs to be in the center above the rest of the site. In the color section the image is set to center center. What is the css I need to add to get it to align center? I tried adding margin: auto; but it didn’t work.
    Your help is much appreciated.
    Thanks
    Rob

    #636522

    Hi,

    Do you mean the special heading? If so you can try this CSS:

    #robheader h1.av-special-heading-tag {
        text-align: center !important ;
    }

    Regards,
    Rikard

    #638723

    No not just the text. I mean the complete header. Here’s another screen grab:
    https://www.dropbox.com/s/mmbqx2pwrw0455t/grab-160526.jpg?dl=0

    #638798

    Hi,

    try to control it with this code:

    #robheader {
    background-position: 0px 65px !important;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #639267

    Sorry Andy that didn’t work.
    I have renewed the login below if you wanted to have a play yourself.
    Thanks
    Rob

    #639421

    Hi,

    use this code:

    img.ls-bg.ls-preloaded {
    width: 1300px !important;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #639749

    No sorry that doesn’t work. The image is still aligning left.
    This works okay to get the size correct:

    #robheader {
    max-width: 1600px;
    }

    … but I have removed it because I don’t want the client to see it with the wrong alignment.
    Thanks
    Rob

    #640085

    Hi Rob,

    Not sure if you need any further help on this or not?

    Regards,
    Rikard

    #640228

    Yes I do need help. It is still aligning left when set to max width as per screen grabs. None of the code you have sent has worked. I have only disabled max width as the client I am working for has a large screen and it looks terrible. If you can’t send me the fix without me breaking the site let me know but I have sent you the login for you to add the max width css yourself and try it.
    Thanks
    Rob

    #640684

    Hi,

    We added this to the Quick CSS Field:

    #robheader {
        max-width: 1600px;
        margin: 0 auto;
        float: none;
    }

    Best regards,
    Ismael

    #640817

    Well done Ismael. Never let me down yet!
    Many thanks
    Rob

    #640852

    Hi,

    glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 22 posts - 1 through 22 (of 22 total)
  • The topic ‘Max width color section’ is closed to new replies.