Is there any way to put a background here?

Go down

Solved Is there any way to put a background here?

Post by teliosmetonma1 on July 30th 2018, 8:54 am

Is there any way to put a background here in my recent topics?



Thank you Hello
avatar
teliosmetonma1
Forumember

Posts : 171
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by skouliki on July 30th 2018, 8:59 am

hello

you mean one color background or an image background?
avatar
skouliki
Manager
Manager

Female Posts : 4777
Reputation : 788
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by teliosmetonma1 on July 30th 2018, 9:00 am

color
avatar
teliosmetonma1
Forumember

Posts : 171
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by skouliki on July 30th 2018, 9:19 am

I think there is not a separate selector for only one widget, the code will affect all widgets , so in this case you can't modify its properties via css without changing other widgets

try this solution but iam not sure

go to template mod_recent_topics and change this
Code:

<div class="module main">

with this
Code:

<div class="module recent-topics main">

then add this to your css, you can change the color
Code:

.module.recent-topics .main-content {
background-color:#e11515
}
avatar
skouliki
Manager
Manager

Female Posts : 4777
Reputation : 788
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by Draxion on July 30th 2018, 4:49 pm

No, you are incorrect, @skouliki. You can actually target different elements based on the order they appear using the nth-child() selector.

You can use this CSS to specifically target that element instead of all of them.
Code:
#main-content > table.portal > tbody > tr > td:nth-child(1) > div:nth-child(3) > div.main-content

Your way does work, too.


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2224
Reputation : 283
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by skouliki on July 30th 2018, 5:41 pm

thanks @Draxion for the information much appreciated :rose:

so @teliosmetonma1 here is the code, change the color if you wish

Code:

#main-content > table.portal > tbody > tr > td:nth-child(1) > div:nth-child(3) > div.main-content {
    background-color: #dbb04c;
}
avatar
skouliki
Manager
Manager

Female Posts : 4777
Reputation : 788
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by teliosmetonma1 on August 13th 2018, 7:41 pm

Thanks solved Wink
avatar
teliosmetonma1
Forumember

Posts : 171
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: Is there any way to put a background here?

Post by Draxion on August 13th 2018, 7:46 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules


NEVER provide your founder's account or email
Please provide forum's URL when dealing with design and appearance issues
Don't forget to mark the topic as when the issue is resolved. This helps the staff greatly.
PM Support is prohibited!
TOS | General Rules | FAQ | Tricks & Tips | Latest Updates | Introduce Yourself

avatar
Draxion
Support Moderator
Support Moderator

Male Posts : 2224
Reputation : 283
Language : English
Location : USA

http://www.draxionsgameden.com/

Back to top Go down

Back to top


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