Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
SeNioR- Posted January 2 Posted January 2 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. Patreon Lukazuki 1
Code Name Jessica Posted January 2 Posted January 2 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. konon and MythonPonty 2
SeNioR- Posted January 2 Author Posted January 2 @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...
Code Name Jessica Posted January 2 Posted January 2 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 EliasM and konon 1 1
Recommended Posts