Responsive

Permalink Browser Info Environment
My company and I have purchased this module.
Firstly, we love the animations and functionality.
Sadly, we have discovered that the text only shows on the back of the image (would think it would be a great addition to have different text on both sides) and found that the text is not responsive, so people on mobile and lower-resolution devices do not see the entirety of the text, as it is pushed down, off of the square.

Is there any way that this can be changed in the future?
Attached is an example.

1 Attachment

Type: Discussion
Status: Resolved
ascotland
View Replies:
WillemAnchor replied on at Permalink Reply
WillemAnchor
Hi ascotland and co,

Thank you for your suggestions. I can add options for front- and back side text. Good idea !

For longer text being cropped on small screens or smaller blocks, I'm not sure how to solve this. I could try to add scrollbars, but I doubt that this would work nicely on all devices (touch) and browsers.

If you have more text than fits in the block, maybe adjust the size of the block itself for smaller screens ?

Also, did you take a look at the following page ?http://anchor-ict.com/portfolio/concrete5_add-ons/image_plus/adapt_...
It describes how to make small adjustments.
You could target the text eg:
<style>
@media only screen and (max-width: 500px) {
div.image_plus_content_text p {
    font-size: 80%
}
}
</style>


I will have a look at the front/back side text options.

Regards, Willem
ascotland replied on at Permalink Reply
ascotland
Hey Willem,

Thanks for the speedy reply!
I have tried your style solution, but (although it shrinks the text where described), the text seems to still go off of the block. Could this be due to the positioning of the text?
ascotland replied on at Permalink Reply
ascotland
Hey Willem,

Thanks for the speedy reply!
I have tried your style solution, but (although it shrinks the text where described), the text seems to still go off of the block. Could this be due to the positioning of the text?
WillemAnchor replied on at Permalink Reply
WillemAnchor
You could change the padding and margin for .image_plus_view h2 and .image_plus_view p. For example:

<style>
.image_plus_view h2 {
    margin-bottom: 0;
}
.image_plus_view p {
    padding-top: 5px;
}
</style>


If you use chrome or firefox as a browser, with their webdeveloper plugins/options, you could inspect the block and see what css changes need to be made.

I did start work on a new version that includes text fields for the front side as well. Not sure when I will be ready and tested yet, probably within 2 weeks.

Good luck !
ascotland replied on at Permalink Reply
ascotland
Hey Willem,
Been working on CSS for a few hours and still have no luck with making the h2 and p tag go to the top of the square.
Basically, I am trying to get the text to show in mobile view because they are too big in a phone view. I think shrinking the text still won't work though because the size of the text might be too small when shrunk.

Any ideas/work arounds?
WillemAnchor replied on at Permalink Reply
WillemAnchor
Ok, how about a different approach, is it possible to use fewer words for smaller devices ? I mean different content within the block.

On what concrete5 version are you working? v8 ?
You can set the 'Device Visibility' for a block, and with this create different blocks (with different content) for different devices.

To do this, these options can be found in page edit mode, click on a block and choose 'Design & Custom Template'. Now choose 'Shadow and Rotation' (no, not a logical place) and there you can find 'Device Visibility'.
Now with this options, create one block for larger devices and also one for small devices.

Hope this can help you ?
regards, Willem
ascotland replied on at Permalink Reply
ascotland
Hey Willem,

We are using 8.1 .

Unfortunately, these blocks are necessary for what we want to accomplish. They are going to be a showcase of what we offer (right now we are using a different content grid but the "card flip" animation is something we love.) So we cannot hide the blocks.
Thanks for all the help so far :)
WillemAnchor replied on at Permalink Reply
WillemAnchor
If you need more help with the css, I can have another look tomorrow around this time.
WillemAnchor replied on at Permalink Reply
WillemAnchor
It could be that the css needs to be more specific:
Try to use something like this:
<style>
div.ccm-page .image_plus_view h2 {
    margin: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}
div.ccm-page .image_plus_view p {
    margin-top: 0;
    padding-top: 2px;
}
</style>


That should bring the H2 to the top. Perhaps also decrease the font sizes a bit.
WillemAnchor replied on at Permalink Reply
WillemAnchor
A new version is available with extra fields for Title and Description on the front side.
The existing Title and Descriptions will still be shown on hover.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.1.0
Version Installed - 8.1.0
Database Version - 20170123000000

# concrete5 Packages
Background Image and Overlay (0.9.9), Back Up Files (1.0.0), Buttons Factory Pro (2.0.6), Call to Action Pro (1.0.0), Calyx 5.7 (1.0.1), Clear Cache on Admin Login (0.9.1), Customize Editing Interface (0.9.4), Cycle2 Slide Show (1.0.1), Fruitful (1.2), Honest Websites Back To Top (1.0.1), HonestWebsites Simple testimonials (1.0.0), Image Link With Content (1.1), Image Plus (1.0.3), Info Box Grid (1.7), Like This (0.9.1), List files from set (1.0.12), Live Chat (1.0.0), Login/Logout Link (1.0), Login Block (0.9.3), Login Dialog (0.9.7), Login Page Background (0.9), Mega Menu (1.6.2.2), Multiple files attribute (1.0.4), Neat (0.9.2), PDF Viewer (1.0.1), Redirect (1.0.0), Responsive Embed (1.0.1), Simple Slider (1.0), Social Media Icons based on FontAwesome (0.9.4), Spacer (0.9.3), Stack Popover (1.2.7), Stucco (2.0.0), Stupid Slider (0.9.1), Styled Maps (1.2.3), Tallacmans Copyright (0.9.3), Vivid Carousel (1.0.1), Webli Content PopUp (2.0), Whale OWL Carousel (2.5.7.4)

# concrete5 Overrides
languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/es_PE/LC_MESSAGES/messages.mo, languages/es_PE/LC_MESSAGES, languages/es_PE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/en_GB/LC_MESSAGES/messages.mo, languages/en_GB/LC_MESSAGES, languages/en_GB, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/cs_CZ/LC_MESSAGES/messages.mo, languages/cs_CZ/LC_MESSAGES, languages/cs_CZ

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - In all cases.
Full Page Cache Lifetime - Every 120 minutes.

# Server Software
Apache

# Server API
apache2handler

# PHP Version
5.6.30-0+deb8u1

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, Phar, posix, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, XCache, XCache Cacher, XCache Coverager, XCache Optimizer, xml, xmlreader, xmlwriter, Zend OPcache, 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 - 16M
sql.safe_mode - Off
upload_max_filesize - 8M
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 - 7200
soap.wsdl_cache_limit - 5
xcache.var_maxttl - 0
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 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 have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.