-
AuthorPosts
-
rangga san Friend
rangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
August 22, 2017 at 7:39 am #1057880Hi,
How to resize the slideshow module?
I just want to resize the height of it and also resize the swiper (the 3 item images below) to be smaller.
- This topic was modified 7 years, 3 months ago by rangga san.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 23, 2017 at 9:01 am #1058120Hi,
You can try to inspect the element by editor on browser you’re using: http://prntscr.com/gbzate
What I usually do is set Compress CSS in Template manager to No, then hover on any HTML element (i.e. button, tag, text, …) you want and right click on it and then click on inspect element, it will show you which CSS class it is using and which CSS file and the path to this element on the right side. then you can go to the file and replace it with new CSS you change.
rangga san Friendrangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
August 24, 2017 at 9:12 am #1058377This is what I did to meet my requirement
@media (min-width: 1200px) { .slideshow { height: 525px; } .slideshow .slider-content-inner .group-action { padding-bottom: 150px; } .item-title.ja-animation{ font-size: 24px; } .swiper-container.slideshow-thumbs{ height: 115px; } } @media (min-width: 1600px) { .slideshow { height: 525px; } .slideshow .slider-content-inner .group-action { padding-bottom: 275px; } .item-title.ja-animation{ font-size: 24px; } .swiper-container.slideshow-thumbs{ height: 115px; } } @media (min-width: 1920px) { .slideshow { height: 525px; } .slideshow .slider-content-inner .group-action { padding-bottom: 425px; } .item-title.ja-animation{ font-size: 24px; } .swiper-container.slideshow-thumbs{ height: 115px; } }
Do you have better suggestion? Simple code that does not require to add screen size. I mean one code for any screen (phone, tablet, desktop)
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 25, 2017 at 6:29 am #1058530Hi,
If you’re familiar with LESS, you can see how we style for it in different screen via this file: templates/ja_company/acm/slideshow/less/style.less
and you can customize in the same way.
rangga san Friendrangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
August 25, 2017 at 6:58 am #1058536I’m unfamiliar with LESS but if I see the code structure, it more neat than CSS. But you have both LESS and CSS files that set style in different screen. So, which one is running first? LESS or CSS? and what’s the point making 2 files (LESS and CSS)?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 28, 2017 at 4:42 pm #1058987Hi,
LESS is great for development stage of a website, for example, with a specific screen size (use media jquery in Bootstrap) you can define various elements while in CSS, you will need to define for each element one by one.
In templates built with T3 framework – which utilizes Bootstrap, we provide option in template manager to enable / disable Development mode, when set this mode ON, template will load LESS files, if it’s OFF, the css files will be called.
rangga san Friendrangga san
- Join date:
- February 2017
- Posts:
- 52
- Downloads:
- 454
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
August 29, 2017 at 6:30 am #1059100Thanks for the explanation
- This reply was modified 7 years, 2 months ago by rangga san.
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by rangga san 7 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum