Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] Question, can I have 2 widgets backgrounds?



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior

  • Description:

Hello,

I would like to know if its possible to have 2 backgrounds for my widgets, here is what I mean:

1 background for my widgets:
Code:
/* Widgets Background Code */
.module {
background-image: url('http://i20.servimg.com/u/f20/14/70/09/25/glow13.png');
background-repeat: no-repeat;
background-position: top-center;
background-color: #000000;
}


I want to have 2 backgrounds because I want to add a lower pic to my widgets.

Here are the two images:
Top image:

Lower image:

Now the problem is that if I simply add another code with a different link it doesn't work, it only displays 1 of my pics. Is there a way to do this?
Thanks!



  • Information:

Forum:http://raptorgaming.forumotion.com/Version:PHPBB3
Type:Request a codeTags:Question,,widgets,backgrounds?

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

2
Offline

  Virus

avatar
★Moderator★
★Moderator★
So you want to add two different img_url to the widgets and display both right?

Powered by PunBB
Currently 0 users have thanked Virus for this post:

3
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
That is correct Sir Virus.

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

4
Offline

  nanako

avatar
Punbb Guru
Punbb Guru
don't get it, how about example?

Powered by PunBB
Currently 0 users have thanked nanako for this post:

5
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
I want 2 pictures, one on the bottom and one on the top of each one of my modules.

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

6
Offline

  Virus

avatar
★Moderator★
★Moderator★
To do that you must edit some variables and set them with images. Could you please provide us with the images url and maybe a test account to try them?

Powered by PunBB
Currently 0 users have thanked Virus for this post:

7
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
When do you mean a test account? I can't give you admin to my forum for this lol. It doesn't matter what images, its just general, as in what code do i need to have 2 background images. It may be hard to figure out if you don't know, I've been trying for a few days...

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

8
Offline

  Virus

avatar
★Moderator★
★Moderator★
No worries, i will sign up to the forum. Could you please provide me with the images you want to add to test them?

Powered by PunBB
Currently 0 users have thanked Virus for this post:

9
Offline

  Tommy Lee

avatar
Punbb Senior
Punbb Senior
Hello,

Instead of creating an account, could you please PM @Virus a test account ao in future you have a test account with moderation rights for staff members to assist you.

Powered by PunBB
Currently 0 users have thanked Tommy Lee for this post:

10
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
[REMOVED MESSAGE]

Double Posting! Message Merged!

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

11
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
None of you can make a forum and add this CSS and try it on your own forum? I would really not like to give out mod accounts...

CSS for 1 image:
Code:
[panda=css]/* Widgets Background Code */
.module {
background-image: url('http://i20.servimg.com/u/f20/14/70/09/25/glow13.png');
background-repeat: no-repeat;
background-position: top-center;
background-color: #000000;
}
Messages Merged into 1 post
Top image: [url=]http://i20.servimg.com/u/f20/14/70/09/25/glow13.png[/url]
Lower image: [url=]http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Site%20Stuff/0d3fdefe-dc41-41c0-b07a-58ab170a399f_zps78c2413f.png[/url]

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

12
Offline

  Virus

avatar
★Moderator★
★Moderator★
[aviso="Double Post"]Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead![/aviso]

I will try helping you with this tomorrow!

Edit: As i promised the code is this one:

Replace the code for the [ic].module[/ic] you have with the below:
Code:
/* Widgets Background Code */
.module {background: url("http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Site%20Stuff/0d3fdefe-dc41-41c0-b07a-58ab170a399f_zps78c2413f.png") center bottom repeat-x,url("http://i20.servimg.com/u/f20/14/70/09/25/glow13.png") center top repeat-x;
}

That should add two images to the widgets.

Powered by PunBB
Currently 0 users have thanked Virus for this post:

13
Offline

  Destroya*

avatar
Punbb Senior
Punbb Senior
@Virus wrote:[link="/t729-question-can-i-have-2-widgets-backgrounds#4703"][aviso="Double Post"]Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead![/aviso]

I will try helping you with this tomorrow!

Edit: As i promised the code is this one:

Replace the code for the [ic].module[/ic] you have with the below:
Code:
/* Widgets Background Code */
.module {background: url("http://i1242.photobucket.com/albums/gg529/oscar_mad_violinist/Site%20Stuff/0d3fdefe-dc41-41c0-b07a-58ab170a399f_zps78c2413f.png") center bottom repeat-x,url("http://i20.servimg.com/u/f20/14/70/09/25/glow13.png") center top repeat-x;
}

That should add two images to the widgets.

Looks dandy. Thank you so much! Question Solved and +1 for you sir Razz

Powered by PunBB
Currently 0 users have thanked Destroya* for this post:

14
Offline

  Virus

avatar
★Moderator★
★Moderator★
You 're welcome! Have a nice day!

[sucesso="Marked as Solved"]The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been marked as Solved.

If you have further questions, please open a new topic.[/sucesso]

Powered by PunBB
Currently 0 users have thanked Virus for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

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