maltewestedt
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: I cant use Permalink! helpim using wamp at the moment i cant find the httpd.conf file! but thanks so far samboll
Forum: Themes and Templates
In reply to: How to test loginform in localhostlol i know ive put it up alot now but it is bugging, can you help me maybe
Forum: Themes and Templates
In reply to: How to add different header image for every pagemaybe you can help me out if you see my freind website https://www.hellothemes.com/new thats basically what i want, only the homepage has a widget and the other pages dont wierd it doesnt work now but check the site when it works
Forum: Themes and Templates
In reply to: How to add different header image for every pageHmmmm i tryed it right now dident work??? :S there must be something wrong in my header.php so far in the header.php i got the important bit
in
</head>
<body <?php body_class(); ?>> under the </head> tagForum: Themes and Templates
In reply to: How to add different header image for every pageto be honest with u m8 im lost right now i know the pages id apart from home its just https://localhost/wordpress/ and how do i put hte id into the css:
body.ID2 #banner {background: #fff url(images/WidgetTop.png) no-repeat top center;}lol my about page is ID2 sorry for confusion
Forum: Themes and Templates
In reply to: How to add different header image for every pageno sorry im working in localhost but ill try using the pages ID what about my homepage it doesnt have an id its just https://localhost/wordpress/?? thanks for the help so far buddy
Forum: Themes and Templates
In reply to: How to add different header image for every page</head>
<body <?php body_class(); ?>>and the css i put
home #banner {background: #fff url(images/WidgetTop.png) no-repeat top center;}
body.about #banner {background: #fff url(images/01.jpg) no-repeat top center;}one of my pages is called about done all that but now i just get no header displayed for anypage?? hmm this topic is driving me insane lol
Forum: Themes and Templates
In reply to: How to add different header image for every pageno no its all ok i always think i confuse everyone else with my question lol
Forum: Themes and Templates
In reply to: How to add different header image for every pageOk im not very good at php but besides all the other code in the header.php file i add
<?php if(is_front_page()) { ?>
…All code for front page…
<?php } elseif(is_archive()) { ?>
etcwhere would i start putting this code in the <body> of the file??
and for
body.home #banner { …banner styling for home page… }
body.single #banner { …banner styling for single page… }
body.postid-503 #banner { …banner styling for post 503… }do i add all of my style for evey page in there then like
body.home #banner { #Topimage{:;} #Toplogin{:;} #wrapper{:;}} etc?
thanks
Forum: Themes and Templates
In reply to: I messed up my HTML…Can anyone help?if u have downloaded the theme the original download file should still be on your pc locate it and grab the fresh sidebar and replace it with the (damaged)
Forum: Themes and Templates
In reply to: How to add different header image for every pageAh ok but where do i put the code >
<?php if (is_front_page()) { ?>
<div id=’frontPageBanner’>…</div>
<?php } elseif (is_archive()) { ?>
<div id=’archiveBanner’>…</div>
<?php } elseif ( is_page($pageID)) {
<div id=’pageIdBanner’>…</div>
?>
in the header.php file in the <head> section??
Forum: Themes and Templates
In reply to: Different Header/Widgets for different pagesSorry im new to wordpress they say repalce: <body <?php body_class(); ?>>
((it did look like that in my header.php file)) with: <body <?php if (function_exists(‘body_class’)) body_class(); ?>> then Then change your CSS to: #header {
background-color:#73a0c5;
background-image:url(images/header.jpg;
background_repeat:no-repeat;
background-position:left top;
}all done now i dont know what to do with:
body.category #header url{background-image:url(images/header2.jpg;}
i dont know where to put it in the header.php file under the
<body <?php if (function_exists(‘body_class’)) body_class(); ?>>
??? or in wordpress/wp-admin > pages and add the code to the pages there?? thanks alot