Jump to content
kephmuscb

как сделать, чтоб текст в мобильной верссии сайта не съезжал?

Recommended Posts

как сделать, чтоб текст в мобильной верссии сайта не съезжал?

25425985_m.png

Share this post


Link to post
Share on other sites

судя по картинке ток фотошопом
ссылочку хотя бы оставили

Share this post


Link to post
Share on other sites
//css строка 900

@media (max-width: 450px)
.history-company-text {
    /* max-width: 263px; */
    /* top: 234px; */
    font-size: 14px;
}

 

Share this post


Link to post
Share on other sites

это не оно?

@media (max-width: 600px) {
    .text-home-banner{display: none;}
    .franchise-restaurant .item-block{height: auto!important;}
    .sushi-this{display: none;}
    .bg-most-dynamic-company{display: none;}
    .sushi-this-list{display: none;}
    .most-dynamic-company .logo {top: 10px;}
    .most-dynamic-company-text{max-width: 100%; top: 105px;}
    .history-company-text{left: 32px; max-width: 351px; top: 286px; font-size: 18px;}
    .footer-name{padding-top: 10px; font-size: 21px;}
    .open-delivery-text {font-size: 42px;}
    .footer-list{display: block;}
    .pc-none{display: block;}
    .sushi-this-list-mobile{position: relative;top: 0px;right: auto;left: auto;font-size: 21.05px;max-width: 215px;padding-bottom: 35px;padding-top: 95px;padding-left: 97px;}
    .most-dynamic-company .sushi-this{display: block; top: auto;bottom: 10px;right: auto;left: 15px;height: auto;}
}

Share this post


Link to post
Share on other sites
11 минут назад, kephmuscb сказал:

а куда ее вставить?

в stylesheet.css, которая находится в папке сайта/catalog/view/theme/Ваш_шаблон/stylesheet/stylesheet.css

 

Открываете Notepad++ и правите в районе 900 строки.

Спойлер

@media (max-width: 450px)
.history-company-text {
    /* max-width: 263px; */
    /* top: 234px; */
    font-size: 14px;
}

 

Сложно? Тогда наймите человека, который сделает безвозмездно.

Edited by ActiveSync

Share this post


Link to post
Share on other sites

900 строка там

.product-list .wishlist, .product-list .compare {
    margin-bottom: 3px;
}
.product-list .wishlist a {
    color: #333333;
    text-decoration: none;
    padding-left: 18px;
    display: block;
    background: url('../image/add.png') left center no-repeat;
}

 

Share this post


Link to post
Share on other sites

в style.css

 

 

@media (max-width: 450px) {
    #live-search {left: 15px; top: 115px;}
    .simplecheckout-customer-block #live-search {left: 15px;}
    .ask-question {bottom: 15px;}
    .container-table{padding: 5px;}
    .financial-model-table td{padding-left: 10px;}
    .financial-model-table td {font-size: 13px;}
    .open-delivery-text {font-size: 23px;}
    .most-dynamic-company .logo{width: 150px;}
    .most-dynamic-company-text {top: 70px;}
    .history-company-text {max-width: 263px; top: 234px; font-size: 14px;}
}

@media (max-width: 359px) {
    .ask-question {bottom: 5px;}
    .franchise-restaurant .name-franchise{font-size: 24px;}
    .write-us{bottom: 35px;}
    .most-dynamic-company-text {font-size: 25px;}
    .history-company-text {max-width: 230px; top: 209px; font-size: 13px;}
    .footer-list {font-size: 17px;}
    .footer-name {font-size: 18px;}
    .most-dynamic-company .sushi-this{left: 5px;}
    .sushi-this-list-mobile{padding-left: 90px;}
}
@media (max-width: 768px){
 .wrap_items {
    height: calc(100vh - 120px);
    overflow: scroll;
}   
}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.