I have a fullcalender installed in Drupal 7 but the popup/colorbox shows a hole page identical to a normal page of this website I made.
The content is way too large now. I cant' get tid of the scrollbars and I would like to have a white background and not the background image that is the same as the one on the normal pages..
I have tried to change about everything in every file that I thought was responsable for this without succes.

It whould be appreciated a lot if someone could help me with this.

Cheers

CommentFileSizeAuthor
Picture 4.png173.14 KBmisscosmic
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

http://drupal.org/node/1237762

The last lines apply to this. You must choose a css selector you want to wrap inside the colorbox. So if you don't get the correct results you didn't choose the correct selector? The standard selector is based on the core themes.

misscosmic’s picture

Thanks aspilicious. Still it shows a full page. This is what I did.
In the formats setting there is colorbox options under Classname or ID selector I filled in #content_event.

As I use the example3.css (which comes with the colorbox as an option. I put #content_event there with background non and a background color. But also after cache clear I shows the 'good old' hole page...
I'm I missing something here..?

aspilicious’s picture

Can you provide a link to the page?

juli1928’s picture

This information is some of the best I have found on this topic for me, I really appreciate this point of view and I've found it to be more reliable then some, I will be recommending it to others.

misscosmic’s picture

aspilicious’s picture

Try

#main .content

misscosmic’s picture

#main .content def makes a change although I still have the same background. The scrollbars are gone. But it doesn't 'listen' to "word wrap".. But is does something.
Unfortunately in Safari it influences the page handling in normal, non-colorbox pages also...

aspilicious’s picture

You shouldn't use css to achieve this...
You just should use the box in http://drupal.org/files/fullcalendarColorbox3.png and than it should pick the correct content.

If you have troubles creating colorbox specific css I advise to look at the colorbox issue queue. Thats not our responsibility...

misscosmic’s picture

Sorry I'm so stubborn but I really don't understand it. There's nothing wrong with the content (text wise) showing in the colorbox, it's just the layout/design in the colorbox that I want to change, which now is the same as the 'normal' pages..

aspilicious’s picture

Yes and the layout/design is a css problem you are having with colorbox and theming in general. That has nothing to do with fullcalendar.

The colorbox module provides a mechanism to style the colorbox like you want it to be without changing the style of the other parts of your site.

Snippet from the colorbox module project page:
"Style the Colorbox with a custom Colorbox style in your theme."

So you should ask there how to style the colorbox: http://drupal.org/project/issues/colorbox?categories=All

aspilicious’s picture

Status: Active » Closed (won't fix)

Lets close this now.