Jump to content

Photo's on my site messed up!


lucasuijtt

Recommended Posts

I fixed that for you and soluton works 100%. You need to put that CCS code on homepage:

<style>
li.htmlcontent-item-1.col-xs-12 {
    width: 33%;
    float: left;
}


li.htmlcontent-item-2.col-xs-12 {
    width: 33%;
    float: left;
}


li.htmlcontent-item-3.col-xs-12 {
    float: left;
    width: 33%;
}
</style>
Edited by HugeB (see edit history)
Link to comment
Share on other sites

 

I fixed that for you and soluton works 100%. You need to put that CCS code on homepage:

<style>
li.htmlcontent-item-1.col-xs-12 {
    width: 33%;
    float: left;
}


li.htmlcontent-item-2.col-xs-12 {
    width: 33%;
    float: left;
}


li.htmlcontent-item-3.col-xs-12 {
    float: left;
    width: 33%;
}
</style>

Thanks for the response, where can i find the CSS for the homepage? there are multiple CSS files and i don't know which one is the correct one.

Link to comment
Share on other sites

I sugguest you to edit theme file directly and just put that code on last line. For loading "new" CSS on all pages, i reccommend you to put that code in header or footer. I think that will be the most easy way for you.

 

You can find file for editing on location: 

YOURSITE/themes/classic/templates/_partials/footer.tpl

I recommend you to create child theme, but if you need fast solution then just edit that footer.tpl and when you will update PrestaShop to new version check if code is still there (i don't know how often you update your core files).

 

Kind regards!

Edited by HugeB (see edit history)
Link to comment
Share on other sites

I sugguest you to edit theme file directly and just put that code on last line. For loading "new" CSS on all pages, i reccommend you to put that code in header or footer. I think that will be the most easy way for you.

 

You can find file for editing on location: 

YOURSITE/themes/classic/templates/_partials/footer.tpl

I recommend you to create child theme, but if you need fast solution then just edit that footer.tpl and when you will update PrestaShop to new version check if code is still there (i don't know how often you update your core files).

 

Kind regards!

 

Thanks so much for your response, sadly I can't get it going. I edited the footer.tpl file, it now looks like this:

{*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2016 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
{if !isset($content_only) || !$content_only}
					</div><!-- #center_column -->
					{if isset($right_column_size) && !empty($right_column_size)}
						<div id="right_column" class="col-xs-12 col-sm-{$right_column_size|intval} column">{$HOOK_RIGHT_COLUMN}</div>
					{/if}
					</div><!-- .row -->
				</div><!-- #columns -->
			</div><!-- .columns-container -->
			{if isset($HOOK_FOOTER)}
				<!-- Footer -->
				<div class="footer-container">
					<footer id="footer"  class="container">
						<div class="row">{$HOOK_FOOTER}</div>
					</footer>
				</div><!-- #footer -->
			{/if}
		</div><!-- #page -->
{/if}
{include file="$tpl_dir./global.tpl"}
	</body>
</html>
<style>
li.htmlcontent-item-1.col-xs-12 {
    width: 33%;
    float: left;
}


li.htmlcontent-item-2.col-xs-12 {
    width: 33%;
    float: left;
}


li.htmlcontent-item-3.col-xs-12 {
    float: left;
    width: 33%;
}
</style>

but the site (snapshirts.nl) still has the big pictures underneath each other.

 

Thanks again!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...