Loading...
 
Skip to main content

Themes


Collapse Module Feature

Hi,

I have a bit of a problem, the image to collapse and uncollapse a module is displaying in the top-right of my screen, instead of the top-right of the module. Where would I look to correct this? I can't seem to track it down. Any help would be appreciated.

By the way I am using the Andreas08 theme.

Check to be sure the h3.box-title isn't missing a "position:relative" property. This is what positions the icon within the module rather than at the top of the screen. This works correctly in the theme files as released (see demo at my site). I don't think other editing of the files would cause the icon to be positioned wrong but since the released files do work correctly, they can be referred to to track down problems.

-- Gary - zukakakina.comQuestion


Thanks for the quick response Gary, where exactly can I find this file? I have not modified any files by hand, is this something that I could have changed through the admin controls somehow? I am very curious as to why I am having trouble with the andreas theme, but your site seems to work perfectly. Is there certain upload requirements... anything at all that I might be doing wrong to make the andreas theme not function properly?

Thanks


Image
Copy to clipboard
h3.box-title { display: block; margin: 0 0 16px 0; font-size: 1.3em; font-weight: normal; letter-spacing: -1px; color: #505050; background: inherit; position: relative}

I pulled your css code from zukakakina, and it matches what is shipped out. I don't understand why mine does not display like yours, but at any rate this is a workaround to it. 😕

I've tracked down the problem. Andreas08.css is NOT shipping out correctly. It is defaulted with the following:

h3.box-title {
display: block;
margin: 0 0 16px 0;
font-size: 1.3em;
font-weight: normal;
letter-spacing: -1px;
color: #505050;
background: inherit;
position: relative}

.box a.flipmodtitle img {display: none} (should be block)

.box:hover a.flipmodtitle img {
display: block;
position: absolute; (should be relative)
right: 0;
top: 0;
border: 1px solid transparent}

a.flipmodtitle:hover img {border: 1px solid #58A7D2 !important}



If you wouldn't mind uploading the current theme files you are using Gary, I'm positive it will fix the rest of the problems I am running into.

Thanks!

The andreas08.css file used at zukakakina.com has changed quite a bit from the one in the Andreas08 zip at themes.tikiwiki.org in reaction to changes in the Tiki 110 beta files in general, and also to improve the theme during this beta stage. But the only change involving the module flipping in this theme is the addition of some IE-specific code added to make the icons appear constantly for Internet Explorer (when the feature is turned on) rather than appear on :hover, as :hover isn't supported by IE for anything but anchor tags.

I generally commit changed files as soon as they apparently working correctly to the mods/themes directory — http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/mods/trunk/themes/Question. Tiki 1.10 beta is evolving too fast to allow me to make up-to-date snapshots of theme files to zip and put on themes.tikiwiki.org, so it's good to check the mods repository for updates until things settle down.

Of course you or anyone else can get any css file at zukakakina.com by using its url — in this case http://zukakakina.com/styles/andreas08.cssQuestion. Sorry, but it's a little amusing when somebody says "Why don't you give me the css file you're using?" when in fact they already have it, in their browser cache, and can get it again by inputting the url explicitly. We all know the paths for Tiki's stylesheets or, as with any web page, a look at the page source in the browser will show it.

Anyway, I don't know the basis for those "should be..." comments in red. If you have another way to accomplish the function, that's fine. But the way indicated in andreas08.css works out of the box, as far as I know. The same method is used in all of the themes I've done recently.

It's possible a typo or other problem in the stylesheet will cause problems for one browser and not another, but I checked and didn't see any that would affect the module-shading icon.

-- Gary

Think we were posting at the same time 😛.

I pulled the CSS file and it does match what is available for download. Something somewhere must be making things appear differently in my code compared to yours, because last night I committed a fresh install of both beta TikiWiki and the Andreas08 theme (with the same results), but at any rate if the problem ever comes up again (someone breaks it like me) this is a good workaround to it.

If I do manage to find what is causing the difference, I will certainly post it. I am picky enough to find it eventually.

Thanks for the quick help as always