Announcement CSS
+2
kirk
CatherinaAndrea
6 posters
Page 1 of 1
Announcement CSS
Just a quick question.
What is the CSS code to change the appearance of the announcement box, like for example make the background of it transparent.
http://m3rcs.forummotion.com/
As you can see the image-slider in the announcement section, but i like the announcement box background transparent.
I tried these, just in case i could guess it out of the blue but none worked
What is the CSS code to change the appearance of the announcement box, like for example make the background of it transparent.
http://m3rcs.forummotion.com/
As you can see the image-slider in the announcement section, but i like the announcement box background transparent.
I tried these, just in case i could guess it out of the blue but none worked
- Code:
.announcement {
background: transparent;
}
.fa_ticker {
background: transparent;
}
.fa_ticker_container {
background: transparent;
}
.fa_ticker_content {
background: transparent;
}
Re: Announcement CSS
can you post a screen shot pointing out what part you mean?
Looks like you have the log in popup transparent.
Looks like you have the log in popup transparent.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Announcement CSS
Hi,
Try adding the following code to the javscript code management for all pages...
Hope it helps
Try adding the following code to the javscript code management for all pages...
- Code:
$(function(){$('#fa_ticker_container').parent().parent('.module').css('background' , 'transparent');});
Hope it helps
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Announcement CSS
Hi CatherinaAndrea,
in your css there should be a code beginning with .modules. That pertains to both your announcement and widgets. Changing the bg color within that code will change both the widgets and announcements.
The javascript code ankillien provided works, and is the way to go if you want to change "only" the announcement bg.
after looking at your site(very nice ) I'm wondering if the bg color in question is actually part of your banner?
in your css there should be a code beginning with .modules. That pertains to both your announcement and widgets. Changing the bg color within that code will change both the widgets and announcements.
The javascript code ankillien provided works, and is the way to go if you want to change "only" the announcement bg.
after looking at your site(very nice ) I'm wondering if the bg color in question is actually part of your banner?
WHITESABBATH- Active Poster
- Posts : 1198
Reputation : 119
Language : English, F-Bombs
Location : Chicago
Re: Announcement CSS
ankillien wrote:Hi,
Try adding the following code to the javscript code management for all pages...
- Code:
$(function(){$('#fa_ticker_container').parent().parent('.module').css('background' , 'transparent');});
Hope it helps
That helped indeed, Thank You but there is still a shadow present from the box, i would try to do it myself if it were css, but java is way over my head so i don't know what code to add to get the shadow away.
WHITESABBATH wrote:Hi CatherinaAndrea,
in your css there should be a code beginning with .modules. That pertains to both your announcement and widgets. Changing the bg color within that code will change both the widgets and announcements.
The javascript code ankillien provided works, and is the way to go if you want to change "only" the announcement bg.
after looking at your site(very nice ) I'm wondering if the bg color in question is actually part of your banner?
Thank you that is my "testing and template making" webby, and then i transfer it to the actual webby that it's made for.
That was partially an image and color in the announcement box, and it's not supposed to be part of the banner, it just so happens that it aligns with it
Re: Announcement CSS
I am not sure what the problem is
I looked at your forum and it looks fine. Using Firefox 8.0.
EDIT: Also looks fine in Chrome
I looked at your forum and it looks fine. Using Firefox 8.0.
EDIT: Also looks fine in Chrome
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: Announcement CSS
It is in your code.
Before
After
Before
- Code:
.module {
background-color: #0F1216;
background-image: url("http://i40.servimg.com/u/f40/14/90/77/10/module14.jpg");
background-repeat: repeat-x;
border: 1px solid #000000;
box-shadow: 0 0 2px #000000;
font-size: 10px;
margin-bottom: 4px;
overflow: hidden;
padding: 0 8px;
}
After
- Code:
.module {
background-color: #0F1216;
background-image: url("http://i40.servimg.com/u/f40/14/90/77/10/module14.jpg");
background-repeat: repeat-x;
font-size: 10px;
margin-bottom: 4px;
overflow: hidden;
padding: 0 8px;
}
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: Announcement CSS
Yes i am aware that the modules and announcement box react to those codes as WhiteSabbath explained earlier. That is why the code Ankillien provided works only for the announcement box, but i will need a little adjustment to the JavaScript code for the shadow to go away as well.
This is the code that needs a little tweaking
This is the code that needs a little tweaking
- Code:
$(function(){$('#fa_ticker_container').parent().parent('.module').css('background' , 'transparent');});
Re: Announcement CSS
Ahh well I don't know then. The CSS code I posted worked for me on Firefox.
I don't know any bit of JS but this is a guess of mine? Doubt it is right but decided to take a stab at it.
I don't know any bit of JS but this is a guess of mine? Doubt it is right but decided to take a stab at it.
- Code:
$(function(){$('#fa_ticker_container').parent().parent('.module').css('background' , 'transparent')+('border' , '0')+('box-shadow' , '0'); });
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: Announcement CSS
LOL figured it wouldn't. I don't know JS but someone will get back to you on it
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: Announcement CSS
Hi!
Please try adding this to your CSS code:
Please try adding this to your CSS code:
- Code:
.module {
border: medium none !important;
box-shadow: none !important;
}
Re: Announcement CSS
Perfect!! That's done it nicely Thank you so much!
This topic can now be Locked -Solved-
This topic can now be Locked -Solved-
Re: Announcement CSS
Problem Solved: | Glad your problem is solved; topic marked as solved and archived. |
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum