#drupal-colorado

Events happening in the community are now at Drupal community events on www.drupal.org.
cyberswat's picture

This is an announcement for the offical #drupal-colorado freenode irc channel. If you have an interest in interacting with Colorado Drupalers this is a great location for it. See you there!

Comments

Side Block Background

Daveygz's picture

I am working on a updating a site that has three right sidebar menus. When I changed the text on one of the side bar menus, the custom background went away. I have very little experience in this so I haven't a clue where to start to replace the lost background in the side bar. I have compared the code from the two existing sidebars to what I have on the revised one, and they look the same. What am I missing? The link to a page that features this issue is here:
http://loadlabs.com/content/how-it-works

ANy assistance on this would be greatly appreciated. Thanks
Dave

block ids

jcfiala's picture

Hey - this isn't quite the right place to ask - you should start with a post of your own instead of replying to Kevin.

That said - look at your block ids. You've got it set up to give "#sidebar-right #block-block-4, #sidebar-right #block-block-5, #sidebar-right #block-block-6" the background decoration, but the last of your three blocks is "#block-block-16".

My suggestion is to change your rule to be "#sidebar-right div.block-block" instead, which will cover any block you create with the block module. (Or even "#sidebar-right div.block" to cover any block.)

If you're not using Firebug, I suggest installing it - it let me immediately click on and drill into the css affecting your blocks, allowing me to see how they differed and which css styles were being used.

-john

re: block ids

djmolny's picture

I second that. I used firebug to reach the same conclusions.

Thanks

Daveygz's picture

I'm an idiot today! Thanks for the reply and information. and sorry for posting in the wrong section.

Dave

Re: Side Block Background

djmolny's picture

Dave -

The offending block ("limited time offer") has the same CSS classes as its working counterparts, and an id of "block-block-16". (The other two are "block-block-4" and "block-block-6".)

Looking at your (ginormous, machine-generated?) CSS file, background parameters as supplied for block-block-4 and block-block-6, but there are no CSS selectors at all for block-block-16. Which is sufficient to explain your problem.

I'm curious what theme you're using, and how the CSS file got to be so big. It's >35,000 lines, and 676KB. That's a lot of CSS!

Hope this helps.

Regards,
DJ

Side Block Background

Daveygz's picture

Hi DJ,

Man I haven't a clue about the css. I had this kind of dropped into my lap with a boss kind of breathing down my neck to get all their updates finished. It was an already functioning site and All I have done was add a column in the product tables and then edit the flash on the home page. They then wanted the change to that side Block button and that's when stuff went well over my head. In looking at the themes list there are two selected. a Garland and a Loadlabs by Prototest theme. Which I think is the custom theme set up b the original developers.

The info you gave does give me a very good place to start so i will get in there and see if I can remedy this issue using the path you opened for me. Thanks Very much DJ!
Dave

outdated css

pwweber's picture

your css has that background image sprite for block-block-4, block-block-5 and block-block-6, but that last block with the missing background has #block-block-16.

just update your css file with the correct block- change 5 to 16.

...or you could be less specific and use the class count-1, count-2, count-3 instead of the id.

Re: Side Block Background Solved

Daveygz's picture

Hello Pw, CJ and JC

All I can say is WOW! you guys absolutely rock! I can't say thank you enough for your advice. I've been searching around for quite a while (days) for a solution and you guys solved it in a heart beat! Thank you So very much for this amazing help.

I truly appreciate all of your time, advice and assistance.
Thanks Again, You Do ROCK!
Dave

This site uses the Zen theme

protitude's picture

This site uses the Zen theme and most of the CSS comes with the theme although when this site was created a bit more was added.

New to Drupal

elonlyguapo's picture

Hello Group,

I am new to Drupal and am having a difficult time using "storm". Fore example, I created a provider company and a few customer company's. Under each company I created people. When i create a task, and select an organization, the only people it lets me assign the task to are people that belong to the organization i selected in the task. I would like it to only offer people for me to assign the task to that belong to the provider organization. Is there a way to fix this? Thank you in advance for your time and support.

Elliott

node_access

wem33's picture

Hi,

I'm a newbie as well and I was wondering about using node_access what an example might be for $account. For $node I can clearly identify content types that match, but how do I find account?

If it pertains to individual accounts I would prefer to use a role instead.

Thanks

Drupal Colorado

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: