Kalian Member Baru, Yuk Perkenalan Dahulu. 1 Member 1 Thread.
Selamat datang di Forum Atlanta~Halo, kalian masih menjadi tamu ya di forum ini ? Kenapa masih jadi tamu ayok ikutan kita gabung di forum ini.
Banyak loh tutorial yang dapat kamu dapatkan di sini, kalian juga bisa tanya-tanya tentang masalah blog/forum kok di sini.
Langsung aja yok daftar kalau kalian belum daftar di sini Register, Kalau sudah punya IDnya langsung aja ya Login

You are not connected. Please login or register

 

Styling global announcment and sticky post

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)

#1
 on 4/8/2013, 01:09

Level 1

Level 1
Hi.. its me again Senyum 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.]

#2
 on 4/8/2013, 08:47

Owner of Atlanta


Owner of Atlanta
here is just follow css help tutorial Senang
[You must be registered and logged in to see this link.]

#3
 on 5/8/2013, 09:16

Retired Staff


Retired Staff
I do what tommy said and it's working.So are your problem solved?

#4
 on 11/8/2013, 00:24

Level 1

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.

#5
 on 11/8/2013, 17:11

Owner of Atlanta


Owner of Atlanta
You can styling the css of that

Code:
.css({ "background-color": "black" "color": "blue"}

#6
 on 12/8/2013, 21:26

Level 1

Level 1
nothings happened bro

gyazo.com/1720f72dc20388fdf1e676bac07e851f

#7
 on 12/8/2013, 23:51

Owner of Atlanta


Owner of Atlanta
you have change it from your javascript not css Wink

#8
 on 13/8/2013, 11:15

Level 1

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'});
        });
        });

#9
 on 13/8/2013, 13:42

Owner of Atlanta


Owner of Atlanta
Sorry miss one wek

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'});
                });
                });

#10
 on 13/8/2013, 15:48

Retired Staff


Retired Staff
Solved?

#11
 on 13/8/2013, 21:36

Level 1

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

#12
 on 14/8/2013, 09:32

Owner of Atlanta


Owner of Atlanta
Try this one Wink
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'});
                        });
                        });

#13
 on 14/8/2013, 15:49

Level 1

Level 1
working fine.. thank you so much tommycoo.. one more question sir.. how can i apply it names like yours???

#14
 on 14/8/2013, 17:56

Retired Staff


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 Senang

#15
 on 14/8/2013, 21:55

Level 1

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

#16
 on 14/8/2013, 23:12

Owner of Atlanta


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 Wink

#17
 on 20/8/2013, 21:45

Level 1

Level 1
Sorry for my late response. mark now as solved. thanks

#18
 on 21/8/2013, 11:24

Owner of Atlanta


Owner of Atlanta
Solved And Archives

Sponsored content
#19
 Today at 00:39


Message (Halaman 1 dari 1)

Share This Topic !

URL :
BBcode :
HTML :

Permissions in this forum:
Anda tidak dapat menjawab topik

Total Posts Total Threads Total Members Newest Member29 November 2014 Date of Establishment of the Forum

Total 0 user online :: 0 Terdaftar, 0 Tersembunyi dan 0 Tamu

Total 0 user online :: 0 Terdaftar, 0 Tersembunyi dan 0 Tamu (Lihat list online)


User yang sedang berada di forum ini: Tidak ada