Popup Redesign
-
How can i redesign Translatepress popup using CSS? I added CSS code below to wordpress Additional CSS section still didnt work:
/* Popup Background / .qtranxs-available-languages-container { background-color: #f5f8fc; padding: 16px; / Increase padding for mobile */
}
/* Popup Text / .qtranxs-available-languages-container p, .qtranxs-available-languages-container a { color: #0D479B; font-family: 'Poppins', sans-serif; font-size: 14px; / Decrease font size for mobile */
}
/* Popup Hover */
.qtranxs-available-languages-container a:hover {
color: #013580;
}
/* Popup Buttons / .qtranxs-available-languages-container button { background-color: #0D479B; color: #fff; font-family: 'Poppins', sans-serif; padding: 8px 16px; border-radius: 4px; transition: background-color 0.3s ease; font-size: 14px; / Decrease font size for mobile / display: block; / Stack buttons vertically on mobile / width: 100%; / Full width on mobile / margin-top: 8px; / Add spacing between buttons on mobile */
}
.qtranxs-available-languages-container button:hover {
background-color: #013580;
}
/* Media Query for Mobile / @media (max-width: 767px) { .qtranxs-available-languages-container { padding: 12px; / Decrease padding for mobile */
}
.qtranxs-available-languages-container p,
.qtranxs-available-languages-container a {
font-size: 12px; /* Decrease font size further for mobile */
}
.qtranxs-available-languages-container button {
font-size: 12px; /* Decrease button font size for mobile */
}
}
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Popup Redesign’ is closed to new replies.