Individual height for one slide

Permalink Browser Info Environment
Hello,

is it possible to give one slide a individual height? (Others with 50% and 100%, i managed that)

thank you

Type: Discussion
Status: In Progress
shaolinsteyr1
View Replies:
jordif replied on at Permalink Reply
jordif
Hi,

yes, it's possible. Have a look at the last question in the "Tips & Snippets" section:

http://www.concrete5.org/marketplace/themes/long-story-short1/tips-...

Hope this helps,

Jordi
shaolinsteyr1 replied on at Permalink Reply
shaolinsteyr1
Thank you that worked.
silentdrummer replied on at Permalink Reply
silentdrummer
in relation to this, i created several classes to be able to control the slide height better.

.lss-slide.height-5 {
  min-height: 5%;
  padding: 0px;
}
.lss-slide.height-10 {
  min-height: 10%;
  padding-top: 18px;
  padding-bottom: 30px;
}
.lss-slide.height-20 {
  min-height: 20%;
  padding-top: 18px;
  padding-bottom: 50px;
}
.lss-slide.height-30 {


in the first few, i also had to adjust the padding, otherwise the slides would be to big (also depends on the customized padding you set for the theme). the last one is the same as ".full-height".

maybe you find that useful to integrate in your template @jordif :)
silentdrummer replied on at Permalink Reply
silentdrummer
in relation to this, i created several classes to be able to control the slide height better.

.lss-slide.height-5 {
  min-height: 5%;
  padding: 0px;
}
.lss-slide.height-10 {
  min-height: 10%;
  padding-top: 18px;
  padding-bottom: 30px;
}
.lss-slide.height-20 {
  min-height: 20%;
  padding-top: 18px;
  padding-bottom: 50px;
}
.lss-slide.height-30 {


in the first few, i also had to adjust the padding, otherwise the slides would be to big (also depends on the customized padding you set for the theme). the last one is the same as ".full-height".

maybe you find that useful to integrate in your template @jordif :)
jordif replied on at Permalink Reply
jordif
Hi,

thanks for sharing!

I'll consider including this in the next release of the theme.

Jordi

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.1
Version Installed - 5.7.5.1
Database Version - 20150713000000

# concrete5 Packages
Long Story Short (1.0).

# concrete5 Overrides
languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.12

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, suhosin, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 200M
sql.safe_mode - Off
upload_max_filesize - 200M
mysql.max_links - 500
mysql.max_persistent - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - 0
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 750
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 255
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 2000
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 256M
suhosin.post.max_array_depth - 5000
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 255
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 20000
suhosin.request.max_array_depth - 5000
suhosin.request.max_array_index_length - 255
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 255
suhosin.request.max_vars - 20000
suhosin.session.max_id_length - 128
suhosin.upload.max_newlines - 100
suhosin.upload.max_uploads - 25

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.