XF 2.1 How can I re-positioning the custom thread fields

gogo

Well-known member
Basically all field names are very short, so I don't want to have a wide gap between the field values and the fields...

How can I move the field values further to the left?

1587138511999.png

1587138757315.webp
 
I found something about "pairs pairs--columns pairs--fixedSmall" defined " from this website.

Code:
.pairs.pairs--columns.pairs--fixedSmall
{
    margin-top: 5px;
    color: #052f10;
    font-weight: 550;

}

It changes the space between lines, color and font weight of text. But how do I change the column space? Thanks
 
I'm not the best person to answer your question but since no one else is, I'll try.
It seems that you need to make the dt element smaller. I would create a new class (fixedTiny) in extra.less and then modify custom_fields_macros to call it.
HTML:
.pairs.pairs--columns.pairs--fixedTiny
{
    > dt
    {
        width: 100px;
    }
}
HTML:
arg-valueClass="pairs pairs--columns pairs--fixedTiny"
 
I'm not the best person to answer your question but since no one else is, I'll try.
It seems that you need to make the dt element smaller. I would create a new class (fixedTiny) in extra.less and then modify custom_fields_macros to call it.
HTML:
.pairs.pairs--columns.pairs--fixedTiny
{
    > dt
    {
        width: 100px;
    }
}
HTML:
arg-valueClass="pairs pairs--columns pairs--fixedTiny"

This is it! This is perfect! Thanks!
 
This works. I hoped that on mobile in vertical view it would also change something. Its still showing the information under the title.
Is there any way we can also change this?

As it is now on mobile in vertical view:
chrome_WHuzbfVckb.webp

As i hoped it would be, But its not.

chrome_tIHz626tJB.webp
 
Top Bottom