Can we use first and third party cookies and web beacons to understand our audience, and to tailor promotions you see?

Theme development

This forum is for assistance with theme development.

How do you apply your theme's background color to TinyMCE?

Basically, what I'm looking for is for the content that I edit with TinyMCE to look as close to the final product as possible.

Say for example I want put white text on my colored background. By default TinyMCE has a white background, which ensures the text isn't viewable when the page is opened by TinyMCE, which makes editing a pain to say the least. What TinyMCE should do is to use the same background color (in this case blue) as the default page does, but I'm not sure how to do this.

Any ideas on how I can change TinyMCE's default background color?

How i can change logo disposition? And add image backgroung to blocks?

Hello
I use this theme B7 http://drupal.org/node/49946
I need place logo to the centre, and add image backgroung to blocks.
How i can do this?
Thanks.

My page.tpl:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


print $head_title

print $head
print $styles

print theme("onload_attribute");
>

if (is_array($primary_links) && count($primary_links) != 0) :
    foreach ($primary_links as $link):
  • print $link
  • endforeach;

endif;
if (is_array($secondary_links) && count($secondary_links) != 0) :

    foreach ($secondary_links as $link):
  • print $link
  • endforeach;

endif;

if($header) :

endif;

if ($sidebar_left != ""):

endif;

print $layout ">
if ($title != ""):

print $title

endif;
if ($tabs != ""):
print $tabs
endif;
if ($mission != ""):

print $mission

Views, Randomize and Pager

For a custom gallery, I use a custom view to retrieve all images. To give every image the same chance to be viewed, i use 'randomize' as the sorting function (actiually to unsort them).

The view uses the pager to distribute all images over several pages.

When I click on the 'next page'-link from the pager, the view is recreated and there are pictures that have already been show.

Is there a way to have some kind of 'persistent' randomize function? Like: randomize once and then you can click through all pages ....

how i can change the views themes

i face problem i change views themes >>>actually i read the doucumentation but some point stell ambegutey

plz help me

help wih tabbed primary/secondary links

I know this is merely aesthetic, but it's really bugging me now, and I know it SHOULD be possible. First off, thanks in advance for any advice. I've gotten some great help here getting this theme this far, and for that I am truly thankful. Now this one last piece. I cannot get the active primary link to stay highlighted when the secondary link is clicked. Example: www.lifeonilife.com. Under iMovie and iPhoto links are some secondary links which are showing and highlighted just as I want. What I want the primary link to do is stay highlighted also (in this case stay blue). Here is my page.tpl.php code:

<div id="navcontainer">
<ul>
					  <?php if (isset($primary_links)) { ?>
						<?php foreach ($primary_links as $link): ?>
						<li><?php print $link?></li>
						<?php endforeach; ?>
					  <?php } ?>
		<ul>		  
					  <?php if (isset($secondary_links)) { ?>
						<?php foreach ($secondary_links as $link): ?>
						<li><?php print $link?></li>
						<?php endforeach; ?>
					  <?php } ?>
		</ul>	
</ul>
</div>

Here is my css code:

/* Toolbar Styles */

#navcontainer {
margin-right: auto;
margin-left: auto;
width: 680px;
position: relative;
height: 10px;
font-size: 0.9em;
}
#navcontainer #active {
background: no-repeat url(images/button_over.png);
text-shadow: none;
}
#navcontainer .active {
background: no-repeat url(images/button_over.png);

How do I theme a custom CCK node view?

In CCK I've created a new content type called Artists, which allows me to enter details of artists we currently work with, or have worked with in the past. So far, it's defined as such:

Pages

Subscribe with RSS Subscribe to RSS - Theme development