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.

Announcement table background phpbb3

View previous topic View next topic Go down

Solved Announcement table background phpbb3

Post by Luffy on December 12th 2014, 1:08 pm

Hi, i asked for this thing some time ago and i got this response for punbb
JS
Code:
jQuery(document).ready(function () { jQuery('.tcl.tdtopics:has(img[src="https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png"])').addClass('importantTopic'); });
CSS
Code:
.importantTopic{background:blue!important;}

How do i do this for phpbb3?
avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 3:17 pm

Try this:
Code:

jQuery(document).ready(function() {
   jQuery('dd.dterm[title=""]:has(img[src="https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png"])').addClass('importantTopic');
});

JS
avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 3:31 pm

That doesn't work.





avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 3:56 pm

In my tests worked yes!

You sure you still have or are using this https://cdn1.iconfinder.com/data/icons/free-large-boss-icon-set/32/Global_manager.png image for topics?


JS
avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 7:55 pm

I am not using that but i changed that.

Code:
jQuery(document).ready(function() {
  jQuery('dd.dterm[title=""]:has(img[src="http://i59.servimg.com/u/f59/19/06/26/04/ga10.png"])').addClass('importantTopic');
});





avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 7:58 pm

You just forgot to tell if it worked or not?

JS
avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 9:06 pm

MrMind wrote:That doesn't work.
avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 9:10 pm

How about you tell us the address of your forum in which you are using this code?

I assure you that this is going speed up the help,

JS
avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 9:12 pm

I send you a pm about the forum i am referring to. Thanks for your time.





avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 9:28 pm

Try this:
Code:

jQuery(document).ready(function() {
   jQuery('ul.topiclist.topics.bg_none dl.icon[style*="http://i59.servimg.com/u/f59/19/06/26/04/ga10.png"]').addClass('importantTopic');
});

JS
avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 9:30 pm

Υes that did the work but it removed the icon of the announcement. Sad





avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 9:49 pm

In your CSS, change this:
Code:

.importantTopic {
  background: none repeat scroll 0 0 #d6d6d6 !important;
}

To this:
Code:

.importantTopic {
  background-color: #d6d6d6 !important;
}

So long,

JS
avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 9:52 pm

That's what i have:





avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by SLGray on December 12th 2014, 9:55 pm

Add it to the top of your stylesheet.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39694
Reputation : 2678
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 9:58 pm

@SLGray wrote:Add it to the top of your stylesheet.
Still the same..
avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by SLGray on December 12th 2014, 10:02 pm

Try changing where you place the JavaScript.


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

avatar
SLGray
Administrator
Administrator

Male Posts : 39694
Reputation : 2678
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by JScript on December 12th 2014, 10:11 pm

MrMind wrote:That's what i have: http://i.imgur.com/flNq1Tx.png

Pay close attention in the image below and tell me if you have the same:


JS

avatar
JScript
Forumember

Male Posts : 741
Reputation : 172
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by Luffy on December 12th 2014, 10:15 pm

Yes thank you! Topic is now solved!





avatar
Luffy
Manager
Manager

Male Posts : 4671
Reputation : 470
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

Solved Re: Announcement table background phpbb3

Post by SLGray on December 12th 2014, 10:56 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 : 39694
Reputation : 2678
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