A
A
Anatoly2014-04-29 18:13:16
css
Anatoly, 2014-04-29 18:13:16

How to force Sidebar to change its location on the site?

Good day. Question: There is a slider that is displayed correctly on the main page and, accordingly, the Sidebar is lowered by 260px. (Sidebar circled in red)
image.png
But when you switch to the full news, an empty gap remains.
image.png
How to make it so that when switching to the full news, the Sidebar would automatically rise to the top by the same 206px?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anatoly, 2014-04-29
@ABasist

There is no JS for them, everything is on styles.
Now this is the style:

#sideRight {
float: left;
margin-right: -3px;
width: 306px;
margin-left: -306px;
position: relative;
background: #fff;
border-radius: 5px;
margin-top: 262px;

R
Roman Misyura, 2014-04-29
@MindMinimal

@ABasist look in the template for a start, maybe some element is sitting there. Offhand, I can say this, try using js (jquery) to see if there is a block with a slider on the page, if not, then remove the block that bothers you. It would be nice if you showed the markup itself or a screenshot in full size.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question