I am using upright-50 theme. As you know it has 6 pager. 3 of them at first line and 3 of them at second line below the first. But I just want to make 4 pager at one line. I couldn't do this because when there is 4 content forth pager always goes to second line.. How should I do this?

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

In the file custom/modules/ddblock/ddblock-cycle-pager-content-upright50.tpl.php there are two lines:

$number_of_items = 6;        // total number of items to show 
$number_of_items_per_row=3;  // number of items to show in a row

which set the number_of_items_per_row and the number of items to determine the spaces needed between items.

You need to adjust these values.

Hope this helps you further, please let me know.

RachelNY’s picture

I am using the same theme (Upright50) with all the latest releases installed. I made the change as indicated to get 4 items on one line, but it does not work. The 4th items always bounces down to the second line.

$number_of_items = 4;        // total number of items to show
$number_of_items_per_row=4;  // number of items to show in a row

Any suggestions?

ppblaauw’s picture

You would need to make the width of the pager items smaller, so four items would fit the available space.
The size of the pager-items can be changed in the css file of the slideshow theme upright50

RachelNY’s picture

This worked, thank you!

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Fixed

set status to fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.