Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Margins setting html header


  #1  
Old Oct 12, 2010, 02:59 AM
perrymoon
 
3 posts · Oct 2010
Good morning!
I'm working with the Atahualpa theme and adding html I get two problems:

- I don't get to have margin 0 at the top.
- The <head> part interferes in the center column configuration (the blog itself). Is that normal?

I'm adding each code in each window (head, body tag and body)

You can see the page here: http://www.pauperramon.net

The code of the head:





<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Pau Perramon - Filmmaking</title>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/background.jpg);
background-repeat: no-repeat;
background-position: 50% 0%;
}
.style9 {
color: #9A8269;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style11 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF;}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: underline;
color: #FFFFFF;
}
a:active {
text-decoration: none;
color: #FFFFFF;
}
.style14 {color: #FFFFFF}
.style15 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #666666;
}
.style17 { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
}
.style7 { color: #EDEDED;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>




Thank you in advance!
  #2  
Old Oct 12, 2010, 03:17 AM
perrymoon
 
3 posts · Oct 2010
I already got the solution for the first problem, the problem was in the body tag window! But still the style is affecting to the center column, all the text is black while its configurated in another color by the atahualpa configuration panel 'body text and links'
  #3  
Old Oct 12, 2010, 03:23 AM
perrymoon
 
3 posts · Oct 2010
Got it all!

The problem for the body was this:

body,td,th {
color: #000000;

I leave it, maybe is interesting for some newbye as me who has not much knowledge on code!
  #4  
Old Oct 12, 2010, 03:29 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
You have me totally confused. Why are you adding styling this way. If you want to style the body, why not use the option ato->Body Text & Links->body style?
Why make it more complex?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
atahualpa, code, head, html

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Inserts in the Header jkfly4 Header configuration & styling 3 Jul 3, 2010 05:56 AM
Setting Up Adsense in the Header/Logo Area bill_g Atahualpa 3 Wordpress theme 2 Jan 18, 2010 01:06 PM
html in header cway Header configuration & styling 1 Oct 16, 2009 12:11 PM
[SOLVED] Header Image - Remove Margins? JournalStone Header configuration & styling 4 Jul 23, 2009 01:02 PM
Custom Header - Inserting HTML table and links over header. hotsauce Header configuration & styling 2 Apr 9, 2009 05:56 AM


All times are GMT -6. The time now is 06:35 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.