Jump to content

Featured Replies

Posted

I don't know what @Ehren thinks about this, but it would be nice to add "position:sticky" here so that the author column is always visible. This will eliminate the empty space.

cxcx.png.3c35a43fa7f41377b95f5d6a96519410.png

You can use JavaScript to achieve this by calling:

this.getElement().findOne('whatever-the-class-is');

With this approach, you can add, remove, or modify the element as needed. Alternatively, you can locate the relevant CSS and include it in your custom.css file.

Here are the pros and cons of each approach:

JavaScript:

  • Pros:
    • No need to alter the underlying code, making it easy to implement.
  • Cons:
    • If the id or class changes in future updates, the script will no longer work.

CSS:

  • Pros:
    • Minimal editing required, and changes will persist even if your template updates.
  • Cons:
    • Similar to JavaScript, if the id or class changes, your modifications will stop working.

Each method has its strengths and weaknesses, so choose based on your specific requirements and how likely it is for the element to change in future updates.

  • Author

@Code Name Jessica This is a suggestion, not a request for help. I don't need advice from ChatGPT, I know the basics of coding...

Ummm. Ok, if you notice I didn't tag you. This was more for someone else wondering the same thing. Also, I don't use ChatGPT, I use Kate Editor which has no AI crap in it. I will make sure I do not reply to anymore of your posts. Thanks

Recently Browsing 0

  • No registered users viewing this page.