Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Настройка футера


Recommended Posts

Уважаемые знатоки, 

 

Помогите настроить футер, а именно сдвинуть иконку "Инстаграм" вправо и вернуть снизу случайно удаленный копирайт с названием магазина. 

Прикрепляю картинку как выглядит сейчас.

 

Код footer.tpl

<!-- FOOTER
		================================================== -->
	<div class="footer <?php if($theme_options->get( 'footer_layout' ) == 1) { echo 'full-width'; } else { echo 'fixed'; } ?>">
		<div class="background-footer"></div>
		<div class="background">
			<div class="shadow"></div>
			<div class="pattern">
				<div class="container">
					<?php 
					$footer_top = $modules->getModules('footer_top');
					if( count($footer_top) ) { 
						foreach ($footer_top as $module) {
							echo $module;
						}
					} ?>
					<div class="row">
						<?php 
						$footer_left = $modules->getModules('footer_left');
						$footer_right = $modules->getModules('footer_right');
						
						$span = 3;
						if( count($footer_left) && count($footer_right) ) {
							$span = 2;
						} elseif( count($footer_left) || count($footer_right) ) {
							$span = 25;
						} ?>
						
						<?php if( count($footer_left) ) { ?>
						<div class="col-sm-<?php echo $span; ?>">
						<?php foreach ($footer_left as $module) {
								echo $module;
							} ?>
						</div>
						<?php } ?>
						
						<!-- Information -->
						<div class="col-sm-<?php echo $span; ?> col-xs-6 footer-panel">
							
							<ul>
								<?php foreach ($informations as $information) { ?>
								<li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li>
								<?php } ?>
							</ul>
						</div>
							
												
						<!-- My Account -->
						<div class="col-sm-<?php echo $span; ?> col-xs-6 footer-panel">
								<ul>
								<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
								<li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
								
							</ul>
						</div>

						<div class="instagram">
                                                <a href="https://www.instagram.com/moroshkakids/"><img src="image/instagram.jpg" /></a>
                                                </div>
                                               

						<?php if( count($footer_right) ) { ?>
						<div class="col-sm-<?php echo $span; ?>">
						<?php foreach ($footer_right as $module) {
								echo $module;
							} ?>
						</div>
						<?php } ?>
					</div>
					
					<?php 
					$footer_bottom = $modules->getModules('footer_bottom');
					if( count($footer_bottom) ) { 
						foreach ($footer_bottom as $module) {
							echo $module;
						}
					} ?>
				</div>
			</div>
		</div>
	</div>
	
					<?php 
					$bottom = $modules->getModules('bottom');
					if( count($bottom) ) { 
						foreach ($bottom as $module) {
							echo $module;
						}
					} ?>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="catalog/view/theme/<?php echo $config->get( 'config_template' ); ?>/js/megamenu.js"></script>
</div>

stylesheet.css: 

/* Footer
------------------*/	
   		
		.footer {
	position: relative;
                
}

                
                       .instagram {
left: 30px;
padding: 6px 0px 0px 6px;
position: relative;
}     

	.footer .background-footer {
		position: absolute;
		top: 20;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: -1;
	}
	
	.footer .background,
	.standard-body .footer .background {
		background: #494b56;
	}
	
	.footer .pattern {
		padding: 20px 20px 0px 20px;
		color: #9d9ea8;
	}
		
		.footer .pattern a {
			color: #9d9ea8;
		}
		
              
		.footer .pattern p {
			padding: 20px;
			margin: 10px;
		}

 

post-709059-0-74524500-1459774485_thumb.jpg

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
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.