Website Babble Webmaster Forums  


Go Back   Website Babble Webmaster Forums > Creating a Website > Blogging & RSS (WordPress, Blogger, TypePad, etc.)

Your WB Notifications

Reply
 
LinkBack Thread Tools Display Modes
  #16 (permalink)  
Old 01-16-2009, 10:25 PM
MissANN's Avatar
Master Babbler
 
Join Date: Sep 2008
Location: PPC, PALAWAN, Philippines!!! xD
Posts: 178
MissANN has more than the average amount of reputation points
Send a message via Yahoo to MissANN
Default

are you sure u don't?...

so what folder are your theme's images at?

anyways... once you have an 'image' folder in your current theme.. put that image in it and type this code in your header.php under <div id="page"> after the <div id="headerimg"> before the <hr/>tag:

Code:
<img src="<?php bloginfo('stylesheet_directory'); ?>/images/samc.jpg" width="" height="" border="0" alt="">
EDIT:

i forgot... if you want to have a full control on where it will show up place it in a new 'div' by making it just like this:

Code:
<div id="addedimg"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/samc.jpg" width="" height="" border="0" alt=""></div>
Code:
then in you 'style.css'... add this:
#addedimg {
	margin-top:400px;
	margin-left:300px;
	width:auto;
	height:auto;
}
change the value of the margins as you please.

Gooooodluck!
__________________
VECTOR PAINTING... I'M SO EXCITED to practice it!

Last edited by MissANN; 01-16-2009 at 10:40 PM.
Reply With Quote
  #17 (permalink)  
Old 01-18-2009, 02:42 PM
Junior Babbler
 
Join Date: Jan 2009
Posts: 8
jake123 has a few positive reputation points
Default Ading image position handling

Themes designed before wordpress 2.5 might not handle the image position (none left center right) option added to the newer wordpress version To get images to appear as they preview i the edit you can add some code to your stylesheet.

(the anti-spam filter on the forum my pasted code is an email address)

hopefully a googling will find you such a patch
Reply With Quote
  #18 (permalink)  
Old 01-18-2009, 02:44 PM
Junior Babbler
 
Join Date: Jan 2009
Posts: 8
jake123 has a few positive reputation points
Default Code for image positioning (found code wrapper)

Themes designed before wordpress 2.5 might not handle the image position (none left center right) option added to the newer wordpress version To get images to appear as they preview i the edit widow paste the following code into the stylesheet found at themes/edit/styles.php


***** Patches for image positioning updating theme for 2.5+ *****/

Code:
img.alignleft {
float: left;
margin: 5px 10px 0 0;
}

img.alignright {
float: right;
margin: 5px 0 0 10px;
}

img.centered, img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}


/***** Tacked on to add image border  (copied from Business Blogging 101 theme) *****/

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -6. The time now is 01:36 AM.


 Subscribe to RSS

WB Sponsors

Search Engine Optimization

flash chat

Home Jobs Online

Search Engine Marketing

Paid Surveys

Web Design Company

custom website design

Best Links Management Software

Online Advertising Solution FREE trial!



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0