Categories on the left, how do I adjust it to the right, you can share css code?
1.categories abnormal(my)
2 categories right
The discussion Categories show abnormal revolves around adjusting the alignment of categories on a webpage. DanteZii initially asked how to move categories from the left to the right side and shared an image of the issue. cpradio provided a CSS code snippet (table.topic-list td.category { text-align: right; }) to right-align the categories.
However, cpradio noted that right-aligning categories can cause issues, as seen in DanteZii’s screenshot after implementing the code. To address this, cpradio suggested adjusting the width of the title and category columns using CSS, providing a code example to target these elements.
This should right-align them.
table.topic-list td.category { text-align: right; }
![]()
![]()
thx u
Yeah, that happens when you right align things. Hence why they were originally left aligned.
o add padding-left or padding-right?
Your better option will probably be trying to increase the width of the title column and reduce the category width
You will want to target
/* topic column */
table.topic-list th.default, table.topic-list td.main-link { width: whatever; min-width: whatever; }
/* category column */
table.topic-list th.category, table.topic-list td.category { width: whatever; min-width: whatever; }