Jump to content
  • 0

Problem z ustawieniami


kriswalus

Question

13 answers to this question

Recommended Posts

  • 0
5 minutes ago, krzysiuus said:

Usuń z klasy .btn "white-space: nowrap;" wtedy część za długiego tekstu przejdzie do nowej linii. 

Plik theme.css linia ok. 1691

Ewentualnie przetłumacz przycisk na krótszą nazwę: "Finalizacja zamówienia (checkout)" na np. "Zamawiam i płacę". 

Niestety zmiana w tłumaczeniu nic nie daje. trzeba chyba zmiany w theme.css 

 

Link to comment
Share on other sites

  • 0
1 minute ago, krzysiuus said:

Jak nic nie daje? Jeżeli skrócisz nazwę to się będzie mieścić i nie będzie rozciągać buttonu. 

nie, nie, chodzi o to że skróciłem nazwę. A przycisk dalej rozciągnięty. Sprawdź proszę 

Link to comment
Share on other sites

  • 0

btn {
  display: inline-block;
  font-weight: normal;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 0; }
  .btn:focus, .btn.focus, .btn:active:focus, .btn:active.focus, .btn.active:focus, .btn.active.focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px; }
  .btn:focus, .btn:hover {
    text-decoration: none; }
  .btn.focus {
    text-decoration: none; }
  .btn:active, .btn.active {
    background-image: none;
    outline: 0; }
  .btn.disabled, .btn:disabled {
    cursor: not-allowed;
    opacity: .65; }

Link to comment
Share on other sites

  • 0
6 minutes ago, krzysiuus said:

Ja tam widzę cały czas stare tłumaczenie. 

white-space: nowrap;

ciekawa sprawa, jeżeli koszyk jest pusty to jest napis ok a jak jest towar w koszyku to jest rozciągnięty

Link to comment
Share on other sites

  • 0
44 minutes ago, krzysiuus said:

Sprawdź jeszcze:


.checkout.cart-detailed-actions a.btn.btn-primary {
	padding: 12px 20px;
	font-size: 14px;
	background-color: #93c567;
	border-color: #93c567;
}

Ustaw padding jak powyżej. 

Myślę, że się udało. A co zrobić z tym szerokim miejscem na text?

Zrzut ekranu 08-05-2020 08.24.42.png

Link to comment
Share on other sites

  • 0
14 minutes ago, krzysiuus said:

W kodzie masz ustawione cols="120" dla tego pola... swoją drogą takie buble to powinien poprawić autor szablonu. 

Mogę prosić o bliższą podpowiedź? Gdzie tego szukać?

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