How can I change the caption from the photo in another language.
3 posters
Third services that may set up cookyes
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
Fraise- New Member
- Posts : 15
Reputation : 3
Language : PT
Location : Lisbon, Portugal
Hey,
Add to your CSS stylesheet:
Best regards,
Fraise.
Add to your CSS stylesheet:
- Code:
#cookieChoiceInfo span { display: none; }
#cookieChoiceInfo:before { content: "your text"; }
Best regards,
Fraise.
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
Buttons, More infotone and OK will change the inscription in another language?
Fraise- New Member
- Posts : 15
Reputation : 3
Language : PT
Location : Lisbon, Portugal
Oh sorry! Keep that code and a create a new JavaScript using this one:
Best regards,
Fraise.
- Code:
$('#cookieChoiceInfo a[href="/faq"]').replaceWith('<a href="/faq" target="_blank" rel="nofollow" style="background-color: rgb(48, 48, 48); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 2px; color: rgb(255, 255, 255); line-height: 19px; padding: 4px 8px; text-decoration: none; white-space: nowrap; margin-left: 8px;">EDIT HERE1</a>');
$('a#cookieChoiceDismiss').replaceWith('EDIT HERE2');
});
Best regards,
Fraise.
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
By putting JavaScript, should I remove the css code you gave? Where do I bookmark? In all the pages?
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
@Fraise I put your code, but the language of the buttons did not change.
When I placed your code, the thank-you icons in the themes changed their location.
- Code:
$('#cookieChoiceInfo a[href="/faq"]').replaceWith('<a href="/faq" target="_blank" rel="nofollow" style="background-color: rgb(48, 48, 48); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 2px; color: rgb(255, 255, 255); line-height: 19px; padding: 4px 8px; text-decoration: none; white-space: nowrap; margin-left: 8px;">Информация</a>');
$('a#cookieChoiceDismiss').replaceWith('Ок');
});
When I placed your code, the thank-you icons in the themes changed their location.
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
Up
tikky- Forumember
- Posts : 922
Reputation : 160
Language : 🇵🇹
Hey,
Try
ATT,
Try
- Code:
#cookieChoiceInfo a[href="/faq"]:before {
content: 'Text';
font-size: 12px!important;
background-color: rgb(48, 48, 48);
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px;
line-height: 19px;
padding: 4px 8px;
}
#cookieChoiceInfo a[href="/faq"] {
font-size: 0px;
background-color: transparent!important;
}
ATT,
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
Same problem.
tikky- Forumember
- Posts : 922
Reputation : 160
Language : 🇵🇹
Print?
i tested it
Code:
i tested it
Code:
- Code:
#cookieChoiceInfo a[href="/faq"]:before {
content: 'Text';
font-size: 12px!important;
background-color: rgb(48, 48, 48);
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 2px;
line-height: 19px;
padding: 4px 8px;
}
#cookieChoiceInfo a[href="/faq"] {
border: 0!important;
font-size: 0px;
background-color: transparent!important;
}
#cookieChoiceInfo span { display: none; }
#cookieChoiceInfo:before { content: "your text"; }
smurfavr- Active Poster
- Posts : 1881
Reputation : 22
Language : Bulgarian
smurfavr wrote:
When I placed your code, the thank-you icons in the themes changed their location.
Same problem.