WordPress.org

Ready to get started?Download WordPress

Forums

Simplish Theme - Crop measurements are still the same after adjusting CSS code (5 posts)

  1. twz2
    Member
    Posted 1 year ago #

    I adjusted the CSS code in the simplish theme to allow for a bigger header but find when trying to upload my image, at the cropping stage I am unable to crop at the measure I changed it too.

    the original size for the header is 900 x62 pixels, and changed this to be 875 x 475 pixels.

    on the customer page to upload this still remains the same : 900 x62

    why is this.

    #container{
    	margin: 0 auto;
    	padding: 0;
    	text-align: left;
    	width: 875px;
    }
    #header{
    	height: 475px;
    	background: url("/wp-content/themes/simplish/img/header_image.jpg") no-repeat;
    	margin: 32px auto 0;
    	padding: 0;
    	position: relative;
    }
    #page{
    }
    #content{
    	float: left;
    	padding: 0 0 0 5px;
    	width: 662px;
    }
    #sidebar{
    	border-left: 1px dotted #ddd;
    	float: right;
    	font-size: .9em;
    	padding-left: 15px;
    	text-align: left;
    	width: 190px;
    }
    #footer{
    	border-top: 1px solid #ccc;
    	clear: both;
    	font-size: 90%;
    	height: 40px;
    	margin: 10px 0 0;
    	padding: 10px 0 0;
    }
    #header h1 span a:link,
    #header h1 span a:visited {
    	display: block;
    	text-indent: -9999em;
    	position: absolute;
    	width: 875px;
    	height: 475px;
    	z-index: 100;
    	outline: none;
    	cursor: pointer;
  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    There are literally thousands of WordPress themes - which means that many people won't be familiar with your particular theme. So a link to your site where people can see the theme might result in more responses.

  3. twz2
    Member
    Posted 1 year ago #

    Hi Esmi,

    Thanks for helping me once again.

    Similar to teenangester.net

    the one i'm working on is mylifeonaplate.co

    Thanks again

    twz

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Your theme's header image dimensions will be in its functions.php file. Ideally you shouldn't be amending this theme but creating a child theme for your changes.

  5. twz2
    Member
    Posted 1 year ago #

    I'm going to looking to the above as I am a little bit confused/lack on knowledge about the child theme at present.

    But after changing this is is should change the edit screen.

    Because when I try to upload the image under Appearance > header > upload the cropping size stays the same as the default theme settings.

Topic Closed

This topic has been closed to new replies.

About this Topic