The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Third services that may set up cookyes

3 posters

Go down

Third services that may set up cookyes Empty Third services that may set up cookyes

Post by smurfavr March 10th 2018, 11:08 am

How can I change the caption from the photo in another language.

Third services that may set up cookyes 9282933E
smurfavr
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by Fraise March 10th 2018, 12:01 pm

Hey,

Add to your CSS stylesheet:
Code:
#cookieChoiceInfo span { display: none; }
#cookieChoiceInfo:before { content: "your text"; }
>> You just need to replace your text in the code.

Best regards,
Fraise.
Fraise
Fraise
New Member

Posts : 15
Reputation : 3
Language : PT
Location : Lisbon, Portugal

http://ajuda.forumeiros.com

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by smurfavr March 10th 2018, 12:08 pm

Buttons, More infotone and OK will change the inscription in another language?
smurfavr
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by Fraise March 10th 2018, 12:20 pm

Oh sorry! Keep that code and a create a new JavaScript using this one:
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.
Fraise
Fraise
New Member

Posts : 15
Reputation : 3
Language : PT
Location : Lisbon, Portugal

http://ajuda.forumeiros.com

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by smurfavr March 10th 2018, 12:31 pm

By putting JavaScript, should I remove the css code you gave? Where do I bookmark? In all the pages?
smurfavr
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by smurfavr March 13th 2018, 12:14 am

@Fraise I put your code, but the language of the buttons did not change.

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
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by smurfavr March 22nd 2018, 10:56 am

Up
smurfavr
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by tikky March 26th 2018, 3:01 pm

Hey,
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,
tikky
tikky
Forumember

Posts : 923
Reputation : 160
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by smurfavr March 26th 2018, 5:48 pm

Same problem.
smurfavr
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by tikky March 26th 2018, 6:29 pm

Print?



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"; }
tikky
tikky
Forumember

Posts : 923
Reputation : 160
Language : 🇵🇹

https://www.forumotion.com/create-forum/modernbb

Back to top Go down

Third services that may set up cookyes Empty Re: Third services that may set up cookyes

Post by smurfavr March 27th 2018, 10:23 am

smurfavr wrote:

When I placed your code, the thank-you icons in the themes changed their location.

Same problem.
smurfavr
smurfavr
Active Poster

Male Posts : 1881
Reputation : 22
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum