Message at the top of the template

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Jun 17, 2015 10:12 pm
Reply with quote
Report this post
Hi,

I have often a message at the top of the template for example when I modify the cart, confirm an order... :

top.jpg


Is it possible to have that messages in pop up and/or in center of the screen ?

Thanks,

Best regards,

Jerome
User avatar
Senior Boarder

teitbite
Fri Jun 19, 2015 5:09 pm
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Fri Jun 19, 2015 6:36 pm
Reply with quote
Report this post
Ok I send it by MP

That message can be seen for example when you change the quantity of the cart.

Regards,

Jerome
User avatar
Senior Boarder

teitbite
Sun Jun 21, 2015 5:41 pm
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#system-message-container {
    background: #fff none repeat scroll 0 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 40%;
    width: 100%;
}
User avatar
Moderator

GK User
Mon Jun 29, 2015 8:43 am
Reply with quote
Report this post
Hello,

Ok it works with the position:
notgood.jpg


But I have tree more questions:

- Is it possible to have the message in a pop up with "OK" button ?
- Is it possible to have the message in a square and not in 100% width ?
- Is it possible to change the background color ? In the CSS, the colour is #fff but it is not the colour that appears ?

For exemple message in square:
good.jpg


Thanks a lot :-)

Regards,

Jérôme
User avatar
Senior Boarder

teitbite
Tue Jun 30, 2015 5:30 pm
Reply with quote
Report this post
Hi

Possible to change color and size, but unfortunately adding closing button will require some additional codding and we do not support that.

Code: Select all
#system-message-container {
    background: #YOU_COLOR_CHOICE_GOES_HERE none repeat scroll 0 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 40%;
    width: 320px;
    left: 50%;
    margin-left: -160px;
}
User avatar
Moderator

GK User
Thu Jul 02, 2015 5:29 pm
Reply with quote
Report this post
Hi,

The background color does not change (all the time in brown)...

My code is:

#system-message-container {
background: #8BA393 none repeat scroll 0 0;
margin: 0;
padding: 0;
position: fixed;
top: 40%;
width: 320px;
left: 50%;
margin-left: -160px;
}

And do you think it is possible the have a container more great height ???

Regards,

Jerome
User avatar
Senior Boarder

teitbite
Sat Jul 04, 2015 1:47 pm
Reply with quote
Report this post
Hi

Yes You can, just change the "top: 40%;" value.

Here is a part of code You should be able to change the background color with:

Code: Select all
#system-message .notice.message {
    background: #b06339 none repeat scroll 0 0;
}
User avatar
Moderator


cron