Jump to content

[solved] blockcart in the navbar on the right… please :-)


Recommended Posts

Hello ,

 

I am back with my troubles in navbar

i updated today with v1.6.0.6  and my surprise is again in navbar…

the cart module doesn't want to go on the right…  (yersteday with 1.6.0.5  it was ok :-))

 

whatever i place the module in the Displaynav hook, the cart goes to the middle or the left but never on the right.

(i can't post a pict of the hook - i only have a 4kB max file ??? -  but trust me)

you can see the result at http://www.texxto.fr  

 

I have been looking at global.css  but i did not find a solution

nor in the blockcart.css

 

Someone with some help ???

Sincerely

 

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

Have you tried to change position?

 

Otherwise this might help

 

Open blockcart.tpl in your themes modules folder and find this:

<div class="col-sm-4 clearfix{if $PS_CATALOG_MODE} header_user_catalog{/if}">

change to this

<div class="col-sm-4 pull-right clearfix{if $PS_CATALOG_MODE} header_user_catalog{/if}">

This should move your cart to right

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

hello dioniz ,

 

Yes i tried all the positions in the DisplayNav  without success

But your modif works perfectly for the cart,  on the right now…  thank you  www.jeux2meaux.fr

 

I have to find how to put the three modules (topmenu on the left connexion and cart side by side on the right)

 

Thank you so much

Sincerely 

Link to comment
Share on other sites

You can try and wrap block_top_menu in another div like this:

<div class="col-md-6">
    <div id="block_top_menu" class="sf-contener"> //remove col-lg-12 here
        ...
    </div>
</div>

Maybe this will work for you

Link to comment
Share on other sites

Hello dioniz ,

Everything is ok now (topmenu on the left - connect and cart at the extreme right

but i don't know exactly how i did it…  ah ah ah !!   mistery code to me

i just have to find why there is a space between cart and connect ?????

 

with your precision in mind (full-right to cart) ,  i did a full-left to top menu (topmenu.tpl) 

then i re-initialize the topmenu and re-hooked the topmenu in nav bar from the begining

and i reorder the whole with  (in DisplayNav)

topmenu in 1

cart in 2

userinfo in 3

 

And as it was working i copy the tpl and css code of these files and test it on others copy of my site (yes , i have 3 test running ) …

And it works …

 

Today i have to fight with Topmenu  because i need it 'transparent' and i could not find a solution in superfish-modified.css

 

Again and again,  thanks a lot for your time to help me

Sinecrely

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

Hey Pasqual

 

You have it in superfish-modified.css

.sf-menu {
    background: none repeat scroll 0 0 #F6F6F6;
    border-bottom: 3px solid #E9E9E9;
    padding: 0;
    position: relative;
    width: 100%;
}

You can just delete background line

Link to comment
Share on other sites

hello dioniz

Of course all you infos work perfectly…  thanks so much

About the -15px, if i modify directly the navbar info (margin info) in global css (15px right and 15px left  to 0px)  so both the topmenu on left and cart on right will stand at the limit, isn't it ??

 

The solution of -15px in superfish will only modify the topmenu position ??

Am i right ??

 

Sincerely

Link to comment
Share on other sites

Hello dioniz ,

 

Everything is not perfect but i am close to what i expect for the navbar, topmenu and cart

I finally success in creating a test site at www.texxto.fr/test  (i take off maintenance so you can see)

I just have a pb with 'connexion tab' at the top instead of at the bottom like others and most of all, not sticked to cart module (i did some 'radical' modifs in nav.tpl of blockuserinfo and with my knowledges it's like a joke ah ah ah!!! …  but i'll take care of it this afternoon.

I have to look at the overview pb (disapeared) as i reduce site's width to 980px (but it was already the same with a 1024px width)

I'll post if i can't find the solution with some tries.

 

I close this post now and again thank you very much for your help.

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...