Left Sidebar - Decrease left sidebar width

Permalink Browser Info Environment
Hi

I was not able to find the css line to decrease the left sidebar width...
Any hints? Thx!

Type: Discussion
Status: In Progress
great
View Replies:
MichaelG replied on at Permalink Reply
MichaelG
The site uses a 12 column framework. So if you go to /packages/fruitful/themes/fruitful/left_sidebar.php

you'll see

<main class="col-sm-8 col-sm-push-4">
</main>
<section id="sidebar" class="col-sm-4 col-sm-pull-8">
</section>


The easiest way to explain this, is that the main element, has 8 columns, and the sidebar has 4. You'll notice that there's also push/pull classes. Because of the order the tags are in, naturally main would appear to the left, and the sidebar would appear to the right. So we use push-4, to push it to the left by four columns (the width of the sidebar), and we pull the sidebar back by 8 columns, the width of the main area.

to make the sidebar smaller by a column, we would do this
<main class="col-sm-9 col-sm-push-3">
</main>
<section id="sidebar" class="col-sm-3 col-sm-pull-9">
</section>

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3
Version Installed - 5.7.3
Database Version - 20141219000000

# concrete5 Packages
Fruitful (1.1.1), Image PopUp (1.1), ProEvents (2.0.3).

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

# 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/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 mod_fcgid/2.3.6

# Server API
cgi-fcgi

# PHP Version
5.3.29

# PHP Extensions
apc, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, ereg, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, ionCube Loader, json, libxml, magickwand, mbstring, mcrypt, mhash, mysql, mysqli, ncurses, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, readline, Reflection, session, shmop, SimpleXML, SPL, sqlite3, standard, tokenizer, xml, zip, zlib.

# PHP Settings
max_execution_time - 30
apc.max_file_size - 1M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 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

Click below to request a refund for License #7694703. Assigned to BJM Schwimmschule.
Created on Jan 01 2015 at 4:43 pm
.