Home Forums Theme support Sundance Quickgallery & Room Grid

This topic contains 1 reply, has 2 voices, and was last updated by  7Theme Support 4 years, 10 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Hi dear support,

    I need help to change a few things on my almost complete website. I am using the Sundance theme for a dive center not a resort. Here is where I still struggle.

    1. Room grid

    We worked with a resort that has two geographical sites so I have created two rooms page basically. I have added the room grid templates on both. But I have a choice of 7 kinds of rooms and would like to select which ones shows up in the room grid according to the hotel page.

    I use [room_grid columns=”3″ items=”3″] for one page and the same with =4 for the other but how do I choose which item it displays coz it just shows the last rooms I have created.

    2. Room grid

    Can you please tell me how and where to justify the text and change the amount of characters displayed below the pictures.

    3. Quick gallery

    I am using the quickgallery template for all my courses pages and it was meant to display landscape pictures. My problem is I have a few portrait pictures I still would like to use. I can resize them mostly so they fit in the 840px x 560px display frame but how to center them as they don’t fill the all the frame? Coz at the moment they show up on the left corner with a grey empty space on the right…The grey frame doesn’t bother me but it would look better if the pic was in the center.

    Thank you very much for your help it would be much much appreciated 😉

    M

    Hi,

    1. Hm, this is not so easy, because WordPress display always the entries by publishing date, there is no extra option to filter the rooms. Maybe we can include in a future update an extra option for the IDs of the rooms, but we need at least one week

    2. The number of characters is the excerpt size, you can add a code in your functions.php file to change the size, here is an example code:

    function new_excerpt_length($length) {
    	return 20;
    }
    add_filter('excerpt_length', 'new_excerpt_length');

    To justify the text, you can add this code in WP admin -> Appearance -> Theme Options -> General -> Extra CSS Content:

    .rooms_entry_headline  p {
     text-align:justify;
    }

    3. Ok, that’s very easy, you can add this css code in WP admin -> Appearance -> Theme Options -> General -> Extra CSS Content:

    .quickg.allery-item img {
     margin:0px auto;
    }
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.