R
R
rinatoptimus2015-03-01 21:06:11
css
rinatoptimus, 2015-03-01 21:06:11

How to reduce the width of such a block?

https://sabrina-degree.codio.io/ - under the slider there is a small block with three previews: the third picture slides down under the first two. If you increase the width of this block in Firebug, they align to one line, as they should. But I do not understand where in the code you need to increase it?
There is no such value in index.html and style files (330px as shown by Firebug). Can you tell me how to set the required width?
The slider plugin is taken from here .

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergiu Mitu, 2015-03-01
@EaGames

Usually sliders generate inline styles automatically, by script. You have just such a case.

A
Alexander Tsymbal, 2015-03-01
@AlexanderTsymbal

This is a glitch in your slider. He apparently calculates the width of the holder (ul) for thumbnails based on their width, but does not take into account something. For example, it does not take into account frames around photos. In addition, I kind of saw an option in the settings that is responsible for the width of the previews - if it is, then try changing it.
And the easiest and fastest option is to set the !important property in the default styles: joxi.ru/8AnNnVBsngKxAO - I indicated 500px in the screenshot, but in general I advise you to make 100% !important.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question