Change the color of the Forum poster name in xoops

Source: Internet
Author: User

Currently, the Organization uses xoops as the portal platform. In addition to common forum functions, it also has a lot of scalability. However, the xoops Forum has a very bad setting, that is, the color of the poster name displayed is too close to the title color, and it is not easy to tell who is talking. Xoops has no direct options to modify this, so it has to read its source code. By reading the code, we found that the display options such as the xoops color are stored in/themes/XXX/CSS/style.css. Here, XXX is the name of the forum style set. The default value is default. The poster name is provided as a link. In CSS, the link is defined as follows:

A {} {color: #676767; font-size: 90%; text-Decoration: none; font-weight: bold; Background-color: transparent ;}

If you directly modify the link settings, it will affect other colors displayed on the page, which is very inappropriate. View the topic page of the Forum. In fact, the sender's name is determined by comusername, but the definition of comusername in CSS is empty. You can modify the definition in CSS

. Comusername A {}{ color: # FFFF00}

In this way, the poster name is yellow, which is eye-catching.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.