NameSilo

Another wordpress question

SpaceshipSpaceship
Watch

DnEbook

DataGlasses.ComTop Member
Impact
5,747
Hi there !

I have a simple blog site called worldne.ws and its my little project/learning site , today i was able to add google ads to the feed and i was even able to cut and paste the 'subribe to this tread' widget to the header section of the site via the editor in the themes section of management, so far so good

I did copy the existing header code to a blank sheet before i did this in case i stuffed up !

I clicked update and checked the site and yes the widget was there
...yippeee but it is slightly off the page , and would love to know how to fix it

It really was exciting for me to acheive this , just gotta fine tune it a bit , but i dont know what i am doing (true)

Any help would be much appreciated

regards
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I'm not sure if this is going to work, but try moving this line:
<p><a href="http://feeds2.feedburner.com/worldne/qEgf" rel="alternate" type="application/rss+xml">Subscribe to WORLD NEWS</a></p>
to here:
<div id="header">
<div id="headerimg">
<h1><a href="http://worldne.ws/">WORLD NEWS</a></h1>
<div class="description">Unusual News Plus Interesting Information About Our World</div>
</div>
HERE
</div>
 
1
•••
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<style type="text/css" media="screen">

<?php
// Checks to see whether it needs a sidebar or not
if ( !empty($withcomments) && !is_single() ) {
?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
<?php } ?>

</style>

<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

<?php wp_head(); ?>
<meta name="verify-v1" content="b/dPsrRyXmaovm3XYUqQYOPYudjcLwfusQ8oa+VnsA0=" />
</head>
<body>
<div id="page">


<div id="header">
<div id="headerimg">
<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div class="description"><?php bloginfo('description'); ?></div>
</div>

</div>

<p><a href="http://feeds2.feedburner.com/worldne/qEgf" rel="alternate"
type="application/rss+xml">Subscribe to WORLD NEWS</a></p>
<hr />


This is where it is now , i did try what you suggested but it took it to the very top , and i also moved it to between what is below , but still no good
<div id="header">
<div id="headerimg">

I just want it to move over to the right ?? a few mm's

Although i do thank you for your help
 
Last edited:
0
•••
Final suggestion would be to just add a padding to the left. Replace the line to this (change the padding number to whatever matches the layout):
<p style="padding-left: 10px;"><a href="http://feeds2.feedburner.com/worldne/qEgf" rel="alternate"
type="application/rss+xml">Subscribe to WORLD NEWS</a></p>
 
0
•••
i'll try that tomorrow , thanks for your time (repped)

Couldn't wait so i tried it and it did move a bit, can i get it 5mm more i wonder

but heaps better !
 
Last edited:
0
•••
Final suggestion would be to just add a padding to the left. Replace the line to this (change the padding number to whatever matches the layout):

I have no idea of what i am doing but i changed 10px to 50px

and it moved over perfectly !

very pleased
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Live Options
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back