• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
How To ...

How To ...

James

Well-known member
#21
No, phrases are intended to be changed and translated to suit a particular language. They will remain during upgrades. All you will have done is modified the language pack on your forum to replace phrase text "foo" with your new translation "bar". No big deal!
 

Brogan

XenForo moderator
Staff member
#23
Brogan updated How To ... with a new update entry:

Styling By Editing Templates

When implementing custom styling, it's not always possible to achieve the desired result just using Style Properties or CSS.
Sometimes it is necessary to edit the template.


The simplest way of applying a custom class is by editing the element and adding it like so:
Code:
<div class="section threadList myCustomClass">
The myCustomClass class would then be defined in the EXTRA.css template, or any other...
Read the rest of this update entry...
 
#25
When experimenting with styles, it appears that the Style Properties could be used to disable elements using the css box at the bottom of the display. However, I do not know the context of that information when it becomes part of the code. What syntax is needed for the css there? Is the element already open so that I can just enter "display: none;" to hide the element the style information applies to?

I have installed two prefix addons and I want to disable the display of the div discussionListFilters.prefixFilterBlock.sectionMain.

I am looking at the style properties of Discussion List Filters > Prefixes box. I thought the reason for the css box was problems like this.

I have tried several different entries without success at hiding the div.
 
#27
Good Morning,

I have been trying to change the color of both the hover box and text of the "New Posts" button without success, I only want to change the color for that button. I am a noob in this department, or specifically changing css elements such as these. I am using version 1.5 (not sure it makes any difference). Perhaps someone can point me in the right direction or tell me which css file needs to be edited. Any help is appreciated.

EDIT: Figured it out :)
 
Last edited: