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] No post to view



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

1
Offline

  Micul`Wji

avatar
Punbb Junior
Punbb Junior
What is my question?: How to add on my forum no post to view>?
attention this code does not work for me
Code:
td.tcr span a:empty:before {
color: #a4a4a4;
content: "<b style="color:#aa0000" class="coloradmin">No</b> posts <b style="color:#aa0000" class="coloradmin">to</b> <b style="color:#aa0000" class="coloradmin">view</b>.";
cursor: default;
font-style: italic;
margin: 1px 0 4px 8px;
pointer-events: none;
text-align: center;
word-wrap: break-word;
}
Your Forum Address: exiled.wow3.info
Forum Version: punbb

Powered by PunBB
Currently 0 users have thanked Micul`Wji for this post:

2
Offline

  Brenrenan

avatar
Newbie
Newbie
Hi,
This must be not working because of the additional HTML text you put in the CSS  Wink 

Code:
td.tcr span a:empty:before {
color: #a4a4a4;
content: "No posts to view.";
cursor: default;
font-style: italic;
margin: 1px 0 4px 8px;
pointer-events: none;
text-align: center;
word-wrap: break-word;
}

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

3
Offline

  Micul`Wji

avatar
Punbb Junior
Punbb Junior
@Brenrenan wrote:[link="/t491-no-post-to-view#2913"]Hi,
This must be not working because of the additional HTML text you put in the CSS  Wink 

Code:
td.tcr span a:empty:before {
color: #a4a4a4;
content: "No posts to view.";
cursor: default;
font-style: italic;
margin: 1px 0 4px 8px;
pointer-events: none;
text-align: center;
word-wrap: break-word;
}


don't work!

Powered by PunBB
Currently 0 users have thanked Micul`Wji for this post:

4
Offline

  Ethen

avatar
Punbb Rookie
Punbb Rookie
Code:
$(function() {
  $('td.tcr').each(function(){
    $('span a:empty', this).parent().html('<b style="color:#aa0000" class="coloradmin">No</b> posts <b style="color:#aa0000" class="coloradmin">to</b> <b style="color:#aa0000" class="coloradmin">view</b>');
  });
});

try my codes Smile

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

5
Offline

  Micul`Wji

avatar
Punbb Junior
Punbb Junior
thx work... Solved

Powered by PunBB
Currently 0 users have thanked Micul`Wji for this post:

6
Offline

  Shadow

avatar
Administrator
Administrator
[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 Shadow for this post:

7
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content 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