Mobile Legends: Bang Bang

 Forgot password?
 Register now.
View: 242|Reply: 0
Collapse the left

[ForumUpdateLog] How to diy portal block style

[Copy link]
Post time 2018-5-28 12:29 PM | Show all posts |Read mode

Sign up now, Make more friends, Enjoy with more features, Let you easily Fun Community.

You have to Login for download or view attachment(s). No Account? Register

portal url admincp url

if you have permission to login admincp, then go portal>block styles>edit>create a new block style

TIM截图20180615142747.png portal1.png

I added a block style with style name "Thread+title+dataline+replies+views"

and code is :

    position: relative;
.gogo ul{
    position: relative;
.gogo ul li{
    position: relative;
.gogo ul li a{
    position: relative;
.gogo ul li a span{
    display: inline-block;

.gogo ul li a span:nth-child(1){
    border-left: 3px solid yellow;
    padding:0 0 0 10px;
.gogo ul li a span:nth-child(2){
    right: 10px;
    position: absolute;
.gogo ul li a span:nth-child(3){
    right: 100px;
    position: absolute;
.gogo ul li a span:nth-child(4){
    right: 190px;
    position: absolute;
<div class="module cl gogo">
<a href="{url}"{target}>
 replies: {replies}
 views: {views}

now it's time to go diy portal


choose if there is a block already, then try to edit it


use mouse to hover on the corner of the block, and the button appear,


choose "Attribute", scroll down, in the row of Display style, select the block style you created before, click "ok"


then check if the style is what we expect, if yes then click the "save" button at the top right corner of screen

You have to log in before you can reply Login | Register now.

Points Rules

Mobile Phone Version|Dark Room|Mobile Legends: Bang Bang Official Forum

2019-1-21 09:08 AM GMT+8

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list