This forum is for assistance with theme development.

node CSS help

hey all
i wa swondering if someone could help me write my node.tpl.php code and the css codes to add to my css files so my nodes could look like this

http://www.buyblue.org/

i am already using h2 tags so they would have to be h5 or something

i tried a a few things but i cany seem to figure out how to do it.
if you view source of http://www.buyblue.org/ you can see how they have it done also here is thier codes from the css file

/*
NODE SPECIFIC
*/
#node_teasers .node {
padding:0px;
border:0;
margin:0;
}

.node {
margin-bottom:20px;
}
.node .title {
font-size:1.7em;
margin-bottom:0px;
}
.node .terms {
margin-bottom:20px;
}
.node .node_footer {

}
.node .info {
margin-bottom:10px;
font-size:.9em;
font-style:italic;
}

#node_teasers h2 {
font-size:1.7em;
font-weight:bold;
}
#node_teasers .node-sticky .info {
color:#FFFFFF;
}

#node_teasers .node-sticky a {
color:#FFFFFF;
}

#node_teasers .node_container {
background-image: url(images/node_container_bg.gif);
background-repeat: no-repeat;
background-position: left top;
margin-bottom:30px;
background-color:#F0F0F0;
}
#node_teasers .node_topright {
background-image: url(images/node_topright_bg.gif);
background-repeat: no-repeat;
background-position: right top;
margin-left:20px;
padding:15px 20px 15px 0px;
}
#node_teasers .node-sticky .node_container {

frontend/backend theme switch

im coding my own theme directly in phptemplate engine (for nodetype and terms depending layouts), but i have a problem with "backbone" part of my site. This is a quite simple brochure website so registration is disabled, only my customer can login to add content.

im searching a way to switch theme if he is logged in ("add content" layout) or if he is not (normal "for-the-world" layout). I tried taxonomy_theme module but it can switch between normal theme and admin theme and it doesn't fit my needs

any idea?

How to achieve a bordered first post like on drupal.org

I have read topics on this, and all of them suggest editing the CSS to allow it. I don't know CSS, and I use multiple themes on my site, and do not wish to change all of them. Is there a module that will put a border or some kind of shading around a permenent stickied post at the top of my site? It is the welcome message, and I want it to stand out.

different page-type layouts

ok i finally finished theming my page.tlp.php file
now i would like to start workin on other pages but i cant seem to find a page-type snippet that actually works for me in 4.7

all the snippets i have found in the handbooks do not work for me

[code]

Please help test paypal pro module

Please help test the paypal pro module

I can't get it working but Darren has it working. There could
definitely be something I'm doing wrong. It'd be great if some other
people can try (disable shipping and tax modules which leads to a error
general to ecommerce suite) so we can see if they succeed (like Darren)
or get the errors I get.

http://drupal.org/node/64456

instructions
http://drupal.org/node/74560

Do you use any special software or paid websites to test your site across multiple browsers?

I don't like the idea of having a Windows computer connected to the Internet constantly just so I can test my website.

I have a vague memory that it's possible to view my site in different browsers without installing the browsers.

I did a Google search and came up with browsercam, which costs money.

What do people here use? Do you have 5 computers and 15 browsers installed?

Is there anything people have tried?

Pages

Subscribe with RSS Subscribe to RSS - Theme development