Customization in Nishita Theme

  • Author
    Posts
  • #919550

    iceworkshsv
    Member

    Is there a way I can have a photo appear on different pages? I want the home page to include a full size image, but not on every page.

    I customized the header image size with the following CSS code, but I don’t want this on every page:

    #header-image img {
    display:block;
    height:700px;
    max-width:768px;
    width:100%;
    }

    Is this correct?

    Also, how do I change the size font for the menus and body? I have the CSS customization package.

    Thanks,
    Donna

    The blog I need help with is iceworkshsv.wordpress.com.

    #919763

    The Nishita theme doesn’t have a built in option for setting different images on different pages, but you may still be able to find a good solution with CSS.

    It sounds like you want all the header images to be the same except on the home page. In that case, I would recommend setting the header image on the Appearance → Background page to the smaller one and then adding some CSS to adjust it manually for the home page only. You can do that by adding “.home” to the beginning of your selectors. Here is an example you can start with:

    .home #header-image img {
    	display: none;
    }
    .home #header-image {
    	display:block;
    	background: url(http://iceworkshsv.files.wordpress.com/2012/06/iceworks.jpg);
    	width: 765px;
    	height:564px;
    }

    Note that your iceworks.jpg image isn’t wide enough to cover all the space for a header image in the Nishita theme. I would recommend uploading a wider image and updating the url(), width, and height values in the example above with your new image URL, width, and height. An image that is 1024 pixels wide will work best.

The topic ‘Customization in Nishita Theme’ is closed to new replies.