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?

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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

JScript
Forumember

Male Posts : 741
Reputation : 167
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.






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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

JScript
Forumember

Male Posts : 741
Reputation : 167
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');
});






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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

JScript
Forumember

Male Posts : 741
Reputation : 167
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.

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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

JScript
Forumember

Male Posts : 741
Reputation : 167
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.






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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

JScript
Forumember

Male Posts : 741
Reputation : 167
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






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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

JScript
Forumember

Male Posts : 741
Reputation : 167
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:






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://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..

Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://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


JScript
Forumember

Male Posts : 741
Reputation : 167
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!






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.net

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.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://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