user1031742
user1031742

Reputation: 424

css overflow visible - hidden part of a page

I am struggling with common problem - after clicking on anchor link leading to a section of the same page, a whole block gets moved to the top a few pixels, causing to hide other part of page. On this particular page, after clicking on reviews link (right to the fivestar) and returning to the top of a page, the page title (above breadcrumbs) gets lost.

I have learned that this is caused by a rule overflow: hidden. I found that it can be fixed by applying rule overflow:visible on div#content-inner.content-inner.block. But no matter what I do, this rule is allways overriden by simple .block { overflow:hidden }

Can anybody help me please?

Upvotes: 1

Views: 2249

Answers (2)

Huangism
Huangism

Reputation: 16438

I am not sure which style sheet you are putting in your css but I know the .block is in style

try

#content-region-inner .block {
    overflow: visible;
}

If this don't work please tell me which css you are using to put this in

Upvotes: 1

Blieque
Blieque

Reputation: 675

Change the overflow:visible rule to overflow:visible !important. :)

Upvotes: 1

Related Questions