Hi Jen Social Team....!

By default ning network name is on left side. like on my network www.virtualians.pk  . 

I want to keep it in center of header. Suggest me how to take network name and tagline from left side of header to center of header.

Thanks

Views: 97

Reply to This

Replies to This Discussion

I posted this over on Creators as well.
 
Hi Irfan,
The codes Solo provided should work; however the code for the tagline should include the same "text-align: center" as in the second bit below. I also suggest you use "20px" as I added in first bit (sitename) to gain some space between the name and the nav board you have above it. Do you want to move that board to center it? In the script for it there is a setting of "150 right"; changing the 150 value to "365" centers it to my eye.
Are you adding this code to the right place? It should go in the advanced box in the design studio. Also try a hard refresh ctrl-f5 to clear the cache of your browser so that you "see" the new page correctly.

James
.xg_theme h1#xg_sitename {
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;}
.xg_theme p#xg_sitedesc {
    margin: 0 auto;
    padding-bottom: 8px;
    text-align: center;}

Hi James,

Thanks so much!  Such great details.

Happy Holidays,

Jen

Thanks - same for you and yours. Have a safe and jolly new year.

Thanks James Hawkins....!

I tried this code on my network www.virtualians.pk     but still  network name still on left side but tag line has moved to to center by adding this code in advance  

.xg_theme h1#xg_sitename {
    margin: 0 auto;
    padding-top20px;
    text-align: center;}
.xg_theme p#xg_sitedesc {
    margin: 0 auto;
    padding-bottom: 8px;
    text-align: center;}

Try replacing the last line with this:

text-align: center !important;}

that tells the "code genie" that the change is ...well, important!

James

thanks james.......

This code took network name in center

#xg_sitename {
text-align: center;
}

This code took network tagline in center
#xg_sitedesc { 
text-align: center;
}

now its working on my network www.virtualians.pk

RSS

Members

© 2024   Created by JenSocial.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Home
VIP Ning Tips