This forum is for assistance with theme development.

How to move UC Cart block links from bottom to top.

I've been trying to alter the ubercart cart block so that the 'View Cart' and 'Checkout' links are located in the empty space in the top right of the cart block just to the right side of the title.

http://i23.photobucket.com/albums/b369/xl_cheese/Capture_zps54eb26fb.jpg

I started using CSS and was able put them there, but when I expanded the cart block they overlapped the content in the cart block.

how to get the values of entity reference fields of a content type in a node page?

There is a content type in my website called singer and every singer may have name and some other information. there is another content type called songs and every song has two fields: (1) File (2) name. I also created an Entity Reference field in songs which links the song to a singer. obviously every singer may have any number of linked songs.

I listed the singers in a page and it must display every singer information and songs when the user click on any of the singers. this is my template.tpl.php

File Path Theme Creation Issue

I am going through a Lynda.com tutorial on themeing. It involves creating a theme folder and .info page
at the following site path:

Public_html/sites/all/themes/bartiksub

This is also where the bartiksub.info page is

I see that the theme was created using bartik as a base theme in drupal, in fact I have established it as my default
The tutorial says to add the following code to bartik.info:

stylesheets[all][] = css/custom.css

As directed the CSS sheet was uploaded to:

Public_html/sites/all/themes/bartiksub/css/custom.css

Problem with zen and breadcrumb

Hi i have a problem with subtheme zen and breadcrumb. I configure breadcrumb in my template.php with this function

function Rslab_UPC__breadcrumb($variables) {
$breadcrumb = $variables['breadcrumb'];
if (!empty($breadcrumb)) {

$output = '

' . t('You are here') . '

';
$output .= '

';
return $output;
}
}

And in the page.tpl.php

print $breadcrumb;

Adding HTML 5 to the <head>?

Hello Drupalers,

I need to add some HTML 5 from Adobe Edge Animate to the tag of every page of my site (basically, trying to follow this tutorial: http://creativedroplets.com/html5-animated-background/).

I appreciate any help.

Thanks!

ZenGrids - Adding a Responsive Grid

What is the correct mixin to use for nested elements with ZenGrids?

In my case I'm trying to create a responsive grid that stacks vertically. I have tried using @include zen-grid-flow-item($column-span, $parent-column-count) with the nested divs in conjunction with @media queries to account for different $parent-column-count values, but the widths generated are not correct because the last item in the row always spills below (e.g. if I specify 3 columns for the grid I only get two).

Pages

Subscribe with RSS Subscribe to RSS - Theme development