Post by SubatWest » Thu Nov 06, 2014 7:08 pm

Hi
Can anyone help?
I have placed my logo on the Opencart header and have moved the cart and search box to centre. I want to add a second image in the white space that remains to the right. Everything I have tried does not work. Can anyone provide how I should proceed? Would welcome comments

Active Member

Posts

Joined
Fri Oct 31, 2014 1:29 am

Post by uksitebuilder » Thu Nov 06, 2014 7:37 pm

Please post a link to your site

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by ihateclownz » Fri Nov 07, 2014 2:45 am

Your issue is more of a bootstrap issue, once you figure out how bootstrap works you will be able to put everything in the correct place

Newbie

Posts

Joined
Tue Oct 07, 2014 4:05 am

Post by SubatWest » Fri Nov 07, 2014 3:24 am

Thanks for response. Finaally solved it using php code. This was the code that solved it.

<div class="col-sm-4"><?php echo $search; ?>
<div class="pull-right">
</div>
<div class="col-sm-13"><?php echo $cart;?></div>
<div class="pull-right">
</div>
</div>
<div id="AFlogo"><img src="image/catalog/AFLogo.png" width="375" height="300"<img align="centre> alt="class="img-responsive">
</div>
My site is on local host as I am developing it for someone else.

Active Member

Posts

Joined
Fri Oct 31, 2014 1:29 am

Post by uksitebuilder » Fri Nov 07, 2014 5:48 am

I don't see any php code there

Plus bootstrap is a 12 column grid, so not sure what effect your col-sm-13 will have (probably nought) may as well remove that class (unless you have created one in the stylesheet.css

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 7 guests