This forum is for assistance with theme development.

css layout problem

Hi there,

cck preview theme

When previewing a cck node before submitting I would like to see the post within a table with a certain background color.

Just like here:
http://img291.imageshack.us/img291/4483/previewcckdj9.png

How do I theme the cck preview node?

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]

Pages

Subscribe with RSS Subscribe to RSS - Theme development