Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
Responsive images and Bootstrap3
IIf I add class="img-responsive" to the image tag, I get this:
image
The ebay store logo is the image in question.
If I don't add the class I get this, which is how I want it to look, but want the image to responsive for phone and tablets.
image
View article...
image
The ebay store logo is the image in question.
If I don't add the class I get this, which is how I want it to look, but want the image to responsive for phone and tablets.
image
View article...
Comments
This (img-responsive) applies max-width: 100%;, height: auto; and display: block; to the image so that it scales nicely to the parent element. from http://getbootstrap.com/css/#images
View article...
However, in my quest to have my site make better use of the bootstrap3 framework, I found a new stumbling block; Google maps. I've been playing with various tutorials regarding BS3 and Google maps. I can get it to look OK on desktop but when I look at the site on my iPhone 5S, the map is useless. The site url is http://arcsolinc.com/contact-us
View article...
If you want the map to stack to the top, yet be on the right, you could use a combination of the col-sm-push-6/col-sm-push-6 like we do in the main template for the bootstrap3theme...that way on small devices and larger it makes it look one way, but on the extra-small devices (smartphones), it stacks in sequence.
View article...
<?php expTheme::module(array("controller"=>"container","action"=>"showall","view"=>"showall","source"=>"@left", "scope"=>"sectional")); ?>
<?php expTheme::main(); ?>
Which gets me the intended result (map on top on smartphone, in the right column on desktop). It just required another sub-theme.
View article...