[personal profile] adrenaline posting in [community profile] style_system
hello! i have imported an s2 smooth sailing layout & for some reason the subject won't show up when you click either the permalink or the read comments link. i've tried putting "font-size: 25pt !important;" to the entryheadersubject line in my layer but it's not working. anyone have a clue why it's not showing up? thanks :D

Date: 2009-05-13 12:25 am (UTC)
rosefox: Green books on library shelves. (Default)
From: [personal profile] rosefox
On a "leave comments" page I see this in your code:

<div class="entryHeader"><span class="entryHeaderDate">January 31st 2008 @ 09:41 pm</span><span class="entryHeaderSubject"> - prologue.</span></div>

On the permalink, I see this:

<div class="entryHeader"><span class="entryHeaderDate">January 31st 2008 @ 09:41 pm</span><span class="entryHeaderSubject"></span></div>

So I would look at the code creating the entryHeader class and make sure it puts the subject in there.

It does look like the subject is showing up in the page title of the permalink view:

<title>adrenaline - prologue.</title>

So maybe you can copy and paste the variable from the title into the entrySubject area.

Try this?

Date: 2009-05-13 01:49 am (UTC)
baggyeyes: A part is missing (Missing)
From: [personal profile] baggyeyes
You can try Action Reaction Layers, which has already been altered to work on other servers. I think your particular layout is on there.

Or, you can try your hand at Tabula Rasa, which, after you've made adjustments and changes through the Wizard, makes its own CSS. You can see the CSS through 'View Source' in any browser, copy it and edit in your favorite editor.

Re: Try this?

Date: 2009-05-13 02:27 am (UTC)
rosefox: Green books on library shelves. (Default)
From: [personal profile] rosefox
Yep, Smooth Sailing is there. [personal profile] adrenaline, if you still have trouble with it, looks like the relevant block of code is function Entry::lay_print_subjectline, specifically this bit:

          """</span><span class="entryHeaderSubject">""";
          if ($p.view=="entry") {
            print (defined $.security_icon?" - $.security_icon":"");
          }else{
            print (defined $.security_icon or $.subject!=""?" - ":"")+(defined $.security_icon?"$.security_icon ":"")+($.subject==""?"":"$.subject");
          }
          """</span>""";


That specifically says that if you're in "entry" view, it only prints the security icon and no subject. Change it to

          """</span><span class="entryHeaderSubject">""";
          print (defined $.security_icon or $.subject!=""?" - ":"")+(defined $.security_icon?"$.security_icon ":"")+($.subject==""?"":"$.subject");
          """</span>""";


and you should be all set.

Re: Try this?

Date: 2009-05-13 03:11 am (UTC)
rosefox: Green books on library shelves. (Default)
From: [personal profile] rosefox
Glad to help!

Re: Try this?

Date: 2011-04-03 09:07 pm (UTC)
From: [personal profile] matopia
Hi,

Don't know if you're still responding to comments here, but I thought I would give it a try. I've replaced this section of coding with what you said, but my subjects are still not showing up.

Do you by chance know why that might be? A huge thanks in advance.

Profile

Dreamwidth style system discussion

June 2025

S M T W T F S
1234567
891011121314
15161718 1920 21
22232425262728
29 30     

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 1st, 2025 04:19 am
Powered by Dreamwidth Studios