[You must be registered and logged in to see this image.]
Oops! Sepertinya ada sedikit kesalahan ...
[#22124]
Atlanta telah memblok tamu untuk melihat konten yang ada, silahkan mendaftar untuk dapat melihat isi konten kami.
Need Help?
Message (Halaman 1 dari 1)
GummyBear#1 4/8/2013, 01:09
Level 1
Hi.. its me again i just want to ask, how can i add a style to global announcement and sticky post like yours? here is a screenshot for more details
[You must be registered and logged in to see this image.]
[You must be registered and logged in to see this image.]
tommycoo#2 4/8/2013, 08:47
Owner of Atlanta
here is just follow css help tutorial
[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this link.]
Kitsune#3 5/8/2013, 09:16
Retired Staff
I do what tommy said and it's working.So are your problem solved?
GummyBear#4 11/8/2013, 00:24
Level 1
hi sorry for my late reply. i have just tried the link you gave and the code is working but the result is not similar to like what you have here.
tommycoo#5 11/8/2013, 17:11
Owner of Atlanta
You can styling the css of that
- Code:
.css({ "background-color": "black" "color": "blue"}
GummyBear#8 13/8/2013, 11:15
Level 1
still the same.. this is my code now
- Code:
$(document).ready(function() {
$('.tcl strong:contains("Sticky")').each(function(){
$(this) .css({ "background-color": "black" "color": "blue"});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Announcement")').each(function(){
$(this).css({ 'color': 'red'});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Global announcement")').each(function(){
$(this).css({ 'color': 'green'});
});
});
tommycoo#9 13/8/2013, 13:42
Owner of Atlanta
Sorry miss one
you have seperate css with "," (comma)
here is try this
you have seperate css with "," (comma)
here is try this
- Code:
$(document).ready(function() {
$('.tcl strong:contains("Sticky")').each(function(){
$(this) .css({ "background-color": "black","color": "blue"});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Announcement")').each(function(){
$(this).css({ 'color': 'red'});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Global announcement")').each(function(){
$(this).css({ 'color': 'green'});
});
});
GummyBear#11 13/8/2013, 21:36
Level 1
the codes works but how am i going to add a round edge like yours??
this is what it looks [You must be registered and logged in to see this link.]
this is what it looks [You must be registered and logged in to see this link.]
tommycoo#12 14/8/2013, 09:32
Owner of Atlanta
Try this one
- Code:
$(document).ready(function() {
$('.tcl strong:contains("Sticky")').each(function(){
$(this) .css({ "background-color": "black","color": "blue","padding": "2px","border-radius": "3px"});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Announcement")').each(function(){
$(this).css({ 'color': 'red'});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Global announcement")').each(function(){
$(this).css({ 'color': 'green'});
});
});
GummyBear#13 14/8/2013, 15:49
Level 1
working fine.. thank you so much tommycoo.. one more question sir.. how can i apply it names like yours???
Kitsune#14 14/8/2013, 17:56
Retired Staff
You mean like changing it into "Pesan Tetap" etc etc?
Well you can change "Sticky" to what you want.
If you want to change the "Announcement" and "Global Announcement" just do the same way.
It's that what you mean?
thanks
Well you can change "Sticky" to what you want.
If you want to change the "Announcement" and "Global Announcement" just do the same way.
It's that what you mean?
thanks
GummyBear#15 14/8/2013, 21:55
Level 1
no bro. im done with my first problem, im talking about style on names like what tommycoo have before. the red box on his names
tommycoo#16 14/8/2013, 23:12
Owner of Atlanta
Thats hard to do it, because i used css, and all of us have change/edit the template so thats hard to explain one by one, sorry
Message (Halaman 1 dari 1)
Share This Topic !
URL : | |
BBcode : | |
HTML : |
Similar topics
Permissions in this forum:
Anda tidak dapat menjawab topik