Advertisement
Guest User

a log moderne fix

a guest
May 27th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. To fix the error in A Log Moderne's audio posts:
  2.  
  3. 1. Control+F / Command+F "Audio}{block" without the quotation marks. That should take you to a chunk of text.
  4.  
  5. 2. Select the chunk of text starting from {block:Audio} until {/block:Audio} and replace it with this:
  6. {block:Audio}{block:Artist}<div class=AA>{Artist}</div>{/block:Artist}{block:AudioPlayer}<div class=pt_audio>{AudioPlayerGrey}</div>{/block:AudioPlayer}{block:TrackName}<div class=AT>&ldquo;{TrackName}&rdquo;</div>{/block:TrackName}{block:Album}<div class=AB>{Album}</div>{block:Album}{block:PlayCount}<div class=APL>{FormattedPlayCount}</div>{/block:PlayCount}{block:Caption}<div class=pt_caption>{Caption}</div>{/block:Caption}{/block:Audio}
  7.  
  8. 3. Update preview and save.
  9.  
  10. The error will be mostly fixed but the PlayCount, Album, and TrackName will be aligned left instead of center. To fix it:
  11.  
  12. 1. Control+F / Command+F ".AT" without the quotation marks. That should take you to a huge-ass chunk of text, which is the CSS for this theme.
  13.  
  14. 2. Insert a "text-align:center;" after the curly bracket. So from
  15. .AT {other styles;
  16. it should become
  17. .AT {text-align:center;other styles;
  18.  
  19. 3. Repeat the above steps for ".AB" and ".APL", so that they become
  20. .AB {text-align:center;other styles;
  21. .APL {text-align:center;other styles;
  22.  
  23. 4. Update preview and save.
  24.  
  25. Doing that will re-center the other audio post info. :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement