Size of Title and Starting Closed

Permalink Browser Info Environment
How do you change the size of the title? Can you have the block always start "closed" when the page loads?

Type: Pre-Sale
Status: Resolved
cturner1919
View Replies:
amrod replied on at Permalink Reply
amrod
you can disable open state by deleting these lines (8-9) of the accordion.js file in js folder

$('.accordion-header').first().toggleClass('active-header').toggleClass('inactive-header');
$('.accordion-content').first().slideDown().toggleClass('open-content');


size of the title text is coming from the theme you are using.
h2 tags.
cturner1919 replied on at Permalink Reply
cturner1919
Thanks for the quick reply! I removed the lines of code and that is working great now.

Any way to get the title text to be h4 from my theme instead of h2? I really like the look you have on the demo site. Smaller titles with white space around. Any help is greatly appreciated!
amrod replied on at Permalink Reply
amrod
You can change the view.php file to use h4 in your website template.
<h2 class="accordion-header"><?php  echo htmlentities($title, ENT_QUOTES, APP_CHARSET); ?>
</h2>

instead of h2 you can use h4
<h4 class="accordion-header"><?php  echo htmlentities($title, ENT_QUOTES, APP_CHARSET); ?>
</h4>

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3.1
Version Installed - 5.7.3.1
Database Version - 20150109000000

# concrete5 Packages
Accordion Content (1.1), Fundamental (1.0.5), Studio Testimonials Pro (0.9.3), SVG Social Media Icons (0.9.4), Vivid Simple Accordion (1.0.1).

# concrete5 Overrides
blocks/image, languages/de_DE, languages/fr_FR, languages/da_DK, languages/ru_RU, languages/sl_SI, languages/tr_TR, languages/it_IT, languages/sv_SE, languages/nl_NL, languages/el_GR, languages/ja_JP, languages/fi_FI

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

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.4.38

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, 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 - 128M
post_max_size - 50M
sql.safe_mode - Off
upload_max_filesize - 50M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36

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.