Non visible areas part 2

Permalink Browser Info Environment
I couldn't answer the first support ticket maybe because your set it to "Resolved" status.
But it's not.
I've been working with your theme with 7 other clients and never needed this space (margin) under the top slider. But now I do. So I think I'm familiar with the theme and have looked it through to find a checkbox or anything to change to reduce this gap. Of course I've checked the "disable page title area", both global and page settings.

It's still a 160 px margin, and I can't find a way to make it 0. See images.

Maybe it's not possible other than changing code somewhere?

/Peter

2 Attachments

Type: Ticket
Status: Resolved
peel1962
View Replies:
shahroq replied on at Permalink Reply 1 Attachment
shahroq
Hi Peter,
I don't see any 160px MARGIN in the code. Yet these points may clarify the situation.

- The `Slider`, `Header Bottom`, and `Page Header` areas are not rendered if they don't hold any block. They are just become visible in edit mode.
- The `Page Title` area can be turned on and off globally or per-page basis, though if you turn them off, they still are visible in edit mode.
- There is an 80px padding (check the attached screenshot) at the top of `div.content-wrap` which is only tweakable via `custom.dev.less` file. [the style is on: content.less]

If these points are not helping, plz, send me a live link or screenshots pointing to a class to which you are referring (like my attached screenshot), so I can come up with a solution.
peel1962 replied on at Permalink Reply 1 Attachment
peel1962
Hi again.
What I meant was that I don't see a 160 px margin anywhere either, but nevertheless, the margin is there and I don't know how to remove it. See image

The image I sent you earlier in edit mode just showed no content was in the blocks.
I also made a custom.dev.less copy to application/config. Tried to set the padding to 0 in #content, but no luck. Don't see any changes.

Check the link to the site (temporarily)
http://storforsplat.se.linux160.unoeuro-server.com/index.php...
shahroq replied on at Permalink Reply
shahroq
The space you are referring to in your screenshot is the same as I highlighted in mine. It's the 80px padding that should be tweaked via `custum.dev.less` file. It is copied from the `content.less` file.

Also make sure the path to the custom file is : `\application\config\pixel_theme\custom.dev.less`

#content {
  .content-wrap {
    padding: 80px 0; // change 80px to something else here
  }
}
peel1962 replied on at Permalink Reply
peel1962
After clearing the cache it made some sense.
Thanks for helping.
/Peter

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.7
Version Installed - 8.5.7
Database Version - 20210623000000

# Database Information
Version: 5.7.36-39-log
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Pixel Theme (2.4.0)

# concrete5 Overrides
None

# 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
litespeed

# PHP Version
7.4.28

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mcrypt, memcache, msgpack, mysqli, mysqlnd, openssl, pcre, PDO, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, redis, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 200
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 5000
memory_limit - 2048M
post_max_size - 1024M
upload_max_filesize - 1024M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
memcache.max_failover_attempts - 20
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

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.