viego
New Member
Posts: 44
inherit
266418
0
Nov 11, 2024 15:10:43 GMT -8
viego
44
May 2022
viego
|
Post by viego on Mar 16, 2023 17:12:46 GMT -8
Sorry for the title. I have no idea what to call this title whatsoever (or can find out what the $code is called either) This is not theme related but a little info: I have a theme installed and have a seperate layout template installed. Managed to get the layout template for the mini profile to work and all that stuff, which is great. Now, I'd like for the messages layout to take on the same layout for the posts. The $[post.created_by.miniprofile] has all the css and such to make it look the way it does, but I'd like for $[message.created_by.miniprofile] to take on the same properties of $[post.created_by.miniprofile]. I've tried figuring it out but have no clue anymore and need someone who actually knows how this works. The rest of the layout template works fine (after having adjusted the necessary posts. to .messages but it's this one that needs the magic touch. Is there a way to link it? Do I need to make a seperate CSS for it? What is the magical way? Thanks in advance!
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 16, 2023 18:08:00 GMT -8
Sorry for the title. I have no idea what to call this title whatsoever (or can find out what the $code is called either) This is not theme related but a little info: I have a theme installed and have a seperate layout template installed. Managed to get the layout template for the mini profile to work and all that stuff, which is great. Now, I'd like for the messages layout to take on the same layout for the posts. The $[post.created_by.miniprofile] has all the css and such to make it look the way it does, but I'd like for $[message.created_by.miniprofile] to take on the same properties of $[post.created_by.miniprofile]. I've tried figuring it out but have no clue anymore and need someone who actually knows how this works. The rest of the layout template works fine (after having adjusted the necessary posts. to .messages but it's this one that needs the magic touch. Is there a way to link it? Do I need to make a seperate CSS for it? What is the magical way? Thanks in advance! (lunar beast viego? not pentakill? :P) You shouldn't need to make a separate CSS, but you could theoretically copy the CSS for the posts / threads and change the classes to reflect the messages classes. The variable that references the content doesn't contain anything other than short hand for the HTML for what it's describing (in this case, the mini profile of the user who created a message). All the CSS should be fairly similar, so I'd do a right click > inspect element on both sets of pages and figure out which classes match -- the naming is pretty clear so you should be able to find it easily. Let me know if you need more specific help -- you'll need to provide your URL (you can PM it to me if you want it to stay private) if so.
|
|
viego
New Member
Posts: 44
inherit
266418
0
Nov 11, 2024 15:10:43 GMT -8
viego
44
May 2022
viego
|
Post by viego on Mar 16, 2023 19:04:01 GMT -8
Kami the lunar skins just hit me right in the *chefs kiss* xD (but pentakill shouldn't run off too far either ) Okay, a variable, that's the word haha thank you! I would prefer *not* to have to copy and paste so it uses the same CSS but I'll attempt a tinker!
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 16, 2023 19:18:55 GMT -8
Kami the lunar skins just hit me right in the *chefs kiss* xD (but pentakill shouldn't run off too far either ) Okay, a variable, that's the word haha thank you! I would prefer *not* to have to copy and paste so it uses the same CSS but I'll attempt a tinker! (this year's was my favourite LNY tbh) Alternatively, if you figure out the applicable classes you can use it that way like: .class1, .class2 {properties here}
|
|
viego
New Member
Posts: 44
inherit
266418
0
Nov 11, 2024 15:10:43 GMT -8
viego
44
May 2022
viego
|
Post by viego on Mar 16, 2023 19:24:59 GMT -8
(I agree, they were beautiful!! ) I have found it! Rather than adding any extra CSS or something, it turned out to be a table.list css that added extra padding to the messages. Thanks for helping me out again Kami <3
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 16, 2023 19:31:41 GMT -8
(I agree, they were beautiful!! ) I have found it! Rather than adding any extra CSS or something, it turned out to be a table.list css that added extra padding to the messages. Thanks for helping me out again Kami <3 oh yay, glad it wasn't complicated :)
|
|