Sketch theme – change background colour of gallery pages only

  • Author
    Posts
  • #3318410

    ruthgrindrod
    Member

    HI,
    I don’t know if this is possible but I would like to change the colour of the ‘inner’ div (id=page) from grey to white. I can do it so this happens on all the site’s pages but is it possible to do for the portfolio/gallery pages only??
    Thanking you in anticipation.

    The blog I need help with is ruthgrindrodlandscapephotography.co.uk.

    #3318486

    Hey,

    I was looking for some CSS snippet that might help you with this kind of change but I think that white background will make the gallery title (from the top) or images caption go away since they are white too. Are you sure that this is what you want to do?

    This is the CSS that will affect the inner only from the portfolio pages:

    .single-jetpack-portfolio #page {
    background: #fff;
    }

    You can give it a try and see how things look this time. Also, you can easily replace the #fff value for white with anything else.
    Please let me know if this is what you were looking for and if there’s anything else I can help you with, regarding this change.

    Thanks,
    Radu

    #3318805

    ruthgrindrod
    Member

    Hi,
    Thank you very much. I am working on behalf of a client so yes, I will have to change the text, logo etc too on those particular pages but I just couldn’t find out the class for the portfolio pages.

The topic ‘Sketch theme – change background colour of gallery pages only’ is closed to new replies.