The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Adding background to forums?

View previous topic View next topic Go down

Solved Adding background to forums?

Post by Mimóza on January 2nd 2016, 3:54 pm

Hello,
I'd like to add a background image to the forums, but the code I used didn''t really work. :S

Code:
#main {
  background: url('http://illiweb.com/fa/pbucket.gif');
}

Thanks in advance for any help you may have!


Last edited by Mimóza on January 3rd 2016, 4:02 pm; edited 1 time in total
avatar
Mimóza
Forumember

Female Posts : 608
Reputation : 256
Language : Hungarian, English
Location : Hungary

http://dianagyms.deviantart.com/gallery/

Back to top Go down

Solved Re: Adding background to forums?

Post by 10spetter10 on January 2nd 2016, 4:30 pm

I think main will do a bit to much.

If you want a background-image to the rows:
Code:
.pun table .bg-hov {
  background-image: url();
}
.pun table .bg-hov > td {
  background: none;
}

If you want it to the whole table:
Code:
.pun table.table {
  background-image: url();
}
.pun table .bg-hov > td {
  background: none;
}

This last code seems a bit to general so when it changes to much, just say. Wink
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Solved Re: Adding background to forums?

Post by Mimóza on January 2nd 2016, 6:14 pm

Thank you! Very Happy Could the number of topics/ posts column have the background too, please? Very Happy 

avatar
Mimóza
Forumember

Female Posts : 608
Reputation : 256
Language : Hungarian, English
Location : Hungary

http://dianagyms.deviantart.com/gallery/

Back to top Go down

Solved Re: Adding background to forums?

Post by 10spetter10 on January 3rd 2016, 11:03 am

Try by adding '!important' after the none background. If that doesn't work try adding this extra css.

Code:
.pun .main table td.tc3 {
  background-color: none;
}
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Solved Re: Adding background to forums?

Post by Mimóza on January 3rd 2016, 4:02 pm

Worked like a charm! Thank you very much!! 
avatar
Mimóza
Forumember

Female Posts : 608
Reputation : 256
Language : Hungarian, English
Location : Hungary

http://dianagyms.deviantart.com/gallery/

Back to top Go down

Solved Re: Adding background to forums?

Post by SLGray on January 3rd 2016, 7:07 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40171
Reputation : 2713
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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