User-layout looks strange in 1.3.7 version

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2276

Hi!

Just updated to version 1.3.7 and the user-layout started to look wierd.

You can acced the site by going here: *deleted*

Thanks in advance!

Last edit: 8 years 3 months ago by jonthee.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2280

Hi,

We didn't change anything there.
I see that the items go over the title part but that seems to be caused by the special CSS which goes around the title. You could add something like that in your CSS:
#hikashopcpanel div.icon {
margin-top:30px;
}

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2282

Hmm strange, it wasnt so before :(

The fix didnt work :(

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2284

I don't see the CSS code on your website. Maybe you didn't add it correctly ?

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2285

I tried it on the template css and the custom css for hikashop, but deleted it since it didnt work :(

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2287

Could you put it back ?

Maybe it was just your browser which cached the previous version of the CSS file...

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2288

Didnt help either :(

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2289

It's working on my end on your website.
So it's apparently a problem with your browser caching the CSS.

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2290

No it doesnt work with any browser (clearec cache on IE, FF, Chrome), you might have misunderstood the bug, are you looking at the men-item "Mitt konto" while logged in?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2291

Well, I thought that the problem was that the control panel items were overlapping on the title of the page which is why I gave that CSS code.

Could you explain what is the problem ?

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2294

Hi again!

Well if you compare "Mitt konto"-page with another page the boxes are not "inside" the template-box, hard to explain :(

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2296

Ok. That's because of the float option we use in that view. And your template doesn't do a clear:both in order to reset the floating.
You can go in Display->Views and search for the file cpanel. At the end of that file please add

<div style="clear: both;"></div>

Please Log in or Create an account to join the conversation.

  • Posts: 57
  • Thank you received: 0
13 years 11 months ago #2298

Hi again!

Worked like a charm, thanks!!

Just wondering, why did it work in the previous version and not this new 1.3.7?

Last edit: 8 years 3 months ago by jonthee.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 11 months ago #2299

We didn't change that view. However, in previous versions, we had a clear:both hard coded directly below the footer. Another user wanted to remove the code so that it would fit in height in his template. Thus, we changed the system to have the clear:both on the footer with some CSS and removed the hard coded HTML.
The result is that for views which don't have a clear:both at the end and which use CSS floating, there would be no clear:both. And since your template doesn't handle the floating the height of the DIV would be considered properly.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum