Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo

WordPress novice question

Status
Not open for further replies.

randomo

DNF Addict
Legacy Exclusive Member
Joined
Nov 4, 2002
Messages
3,274
Reaction score
107
Hi,

I want to change the size allotted to the header in a WordPress theme. Can someone please tell me how to find the measurements I need to change? (I assume I'm looking for codes in the header.php file.) Thanks.
 
Dynadot - Expired Domain Auctions

dname

Domain Addict
Legacy Exclusive Member
Joined
Nov 12, 2003
Messages
58
Reaction score
0
Hi,

I think you should take a look into style.css file instead and find the sections about #header and #headerimg defining height and width of the header/image.
Hope it helps.
 

LimitedEdition

Level 2
Legacy Platinum Member
Joined
Aug 20, 2010
Messages
33
Reaction score
0
In your dashboard click Appearance - Header to edit the width, height and image. Standard size is 480x250. Or you can click Appearance - Edit CSS and at the bottom of that page you can change the "limit width" box to whatever value you choose.
 

randomo

DNF Addict
Legacy Exclusive Member
Joined
Nov 4, 2002
Messages
3,274
Reaction score
107
Thanks for the answers, guys - I will check into it.
 

randomo

DNF Addict
Legacy Exclusive Member
Joined
Nov 4, 2002
Messages
3,274
Reaction score
107
I tried "Appearance" and then "Header", but there was no place there to set header size. Then I tried to edit the CSS portion that contains the header settings, but again didn't know what to change. Is there a way I can edit the code below in order to set the exact height and width of the header image? Thanks in advance for any help.



/* =Header
-------------------------------------------------------------- */

#header {
padding: 30px 0 0 0;
}
#site-title {
float: left;
font-size: 30px;
line-height: 36px;
margin: 0 0 18px 0;
width: 700px;
}
#site-title a {
color: #000;
font-weight: bold;
text-decoration: none;
}
#site-description {
clear: right;
float: right;
font-style: italic;
margin: 14px 0 18px 0;
width: 220px;
}

/* This is the custom header image */
#branding img {
border-top: 4px solid #000;
border-bottom: 1px solid #000;
clear: both;
display: block;
}
 

dname

Domain Addict
Legacy Exclusive Member
Joined
Nov 12, 2003
Messages
58
Reaction score
0
Hi,

I think you should add width/height property to the "custom header image" section, e.g.

/* This is the custom header image */
#branding img {
border-top: 4px solid #000;
border-bottom: 1px solid #000;
clear: both;
display: block;
width: 468px;
}

Depending on the size of the header element you can adjust that value accordingly to make it look right.
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 3) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

No members online now.

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Upcoming events

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom