Responsive Issues

Permalink Browser Info Environment
Hi

Having some issues with responsive items. (please see attached)

1. The burger menu sitting over logo on mobile? I have tried changing size of logo, didnt help?

2. Headings not responsive within layout?

3. Buttons (CTA) not responsive within layout.

1 Attachment

Type: Ticket
Status: Archived
designeclectic
View Replies:
designeclectic replied on at Permalink Reply
designeclectic
http://www.devdesigneclectic.co.uk/osteopathbasingstoke/index.php/Treatments/Osteopathic-Treatments-Basingstoke
shahroq replied on at Permalink Reply
shahroq
Hi,
1- Re the logo issue, the size of your logo seems a bit long. You can optimize it by using the psd files shipped with the theme to help with the logo size. They are on :
\theme_pixel\themes\pixel\images\logo.psd
\theme_pixel\themes\pixel\images\logo@2x.psd
The second option would be a css rule to resize the logo on narrow devices:
@media only screen and (max-width: 479px) {
  #logo {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
        height: 60px;
    }
  }
}


2. For the heading also you can tweak the font-size on the narrow devices like this:
@media only screen and (max-width: 479px) {
  .heading-block * {
    font-size: 20px !important;
  }
}


3. And for the buttons:
@media only screen and (max-width: 479px) {
  .button {
    font-size: 12px;
  }
}


These codes can all be placed inside custom.less file. (See `Instructions` page #18)
designeclectic replied on at Permalink Reply 3 Attachments
designeclectic
Hi

I followed the instruction and added the code.

The logo change seem to work in mobile preview, but on my i-phone 11, still the same. I cleared cache and data. (please see attached.)

Also the heading code, appears to have only changed the green part of the headings? (please see attached)

Thanks
shahroq replied on at Permalink Reply
shahroq
Hi,

Did you apply the code on the provided link? I don't see the changes?

The changes I did only applies to screen lower than 479px. You can also apply them to one step bigger (between 480 and 767) with this:
@media (min-width: 480px) and (max-width: 767px) {
#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
        height: 90px;
    }
  }
}}


Generally these are the small tweaks you can do with every sections of your site to get cleaner and optimized result on every screen size.
designeclectic replied on at Permalink Reply
designeclectic
I added code below to the custom.dev.less as per instructions #18

@media only screen and (max-width: 479px) {
#logo {
display: flex;
align-items: center;
justify-content: center;
img {
height: 75px;
}
}
}

@media (min-width: 480px) and (max-width: 767px) {
#logo {
display: flex;
align-items: center;
justify-content: center;
img {
height: 90px;
}
}
}}

@media only screen and (max-width: 479px) {
.heading-block * {
font-size: 20px;
}
}

@media only screen and (max-width: 479px) {
.button {
font-size: 12px;
}
}
shahroq replied on at Permalink Reply
shahroq
I did some minor changes to the provided code. Plz, copy again.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.5
Version Installed - 8.5.5
Database Version - 20201116182100

# Database Information
Version: 10.3.29-MariaDB-log-cll-lve
SQL Mode: NO_AUTO_CREATE_USER,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
LiteSpeed

# Server API
litespeed

# PHP Version
7.2.34

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, litespeed, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 360
max_input_vars - 8000
memory_limit - 256M
post_max_size - 512M
upload_max_filesize - 512M
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 - 7200
opcache.max_accelerated_files - 7963
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 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.