Style Sheet Trouble At New Domain
-
I’ve recently transferred my wordpress.com blog to a subdomain of my website where I installed WordPress. Unfortunately WordPress does not seem to be reading the style sheet code I transferred from my wordpress.com blog at the new subdomain. For example the following code:
‘#insideWrapper {
position:relative;
top:0;
height:auto;
width:740px;
background-repeat:no-repeat;
border-top:0 solid gray;
border-bottom:1pt solid gray;
border-left:1pt solid gray;
border-right:1pt solid gray;
background-color:#EEE;
text-align:left;
margin:0;
}’-works well on the wordpress.com blog but goes unread at the subdomain. Another example the following code;
‘#masthead {
position:relative;
top:0;
background:url(‘http://img243.imageshack.us/img243/2449/masthead.jpg’);
background-repeat:no-repeat;
width:740px;
height:70px;
border-top:1pt solid gray;
border-left:1pt solid gray;
border-right:1pt solid gray;
margin-top:100px;
}’has to be changed from #masthead to #header in order to be read by wordpress. What new id should I give the #insidewrapper section in order for wordpress to pick it up? I am using Benevolence. Also, does anyone have a theory as to what causes this problem?
Thanks in advance.
The blog I need help with is: (visible only to logged in users)
-
does anyone have a theory as to what causes this problem?
The stylesheets at wordpress.com are modified from the original version to fit whatever requirements at wordpress.com. There’s nothing wrong with your self-hosted WordPress, it’s just that the stylesheets are not transferable. -
In other words I cannot use the same sheet. In what ways does the code need to be modified in order to be used at the domain? I noticed I had to change the section id’s.
-
WordPress.ORG questions need to be asked over there. We, because we’re hosted here, don’t adapt the code at all.
-
Stylesheets are theme specific, and stylesheets from like themes here at wordpress.COM have changes to accommodate features unique to wordpress.COM. Even if you were using the same theme as you were here, it is highly likely that the wordpress.ORG theme has gone through at least a few revisions compared to the wordpress.COM version. There are also going to be differences in the underlying theme files between .COM and .ORG.
If you pasted the entire stylesheet into the CSS edit window here when you did your customization, about all you can do is go through and compare it to the new stylesheet and then transfer your changes over to the new stylesheet. If you’ve added any images to the stylesheet, you will have to upload those at the new host and then fix the URL’s in the stylesheet as well.
-
- The topic ‘Style Sheet Trouble At New Domain’ is closed to new replies.