Changing preview layout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tal-
    New Member
    • Nov 2010
    • 6
    • 4.0.x

    [CMS] Changing preview layout

    Hello,

    I am looking to change the layout of the article preview. Currently I have changed the layout for an article with an image - however I would like to know how to do the same for one with a video. It appears I need to edit {vb:raw previewvideo} in order to change the width, height etc for the video.

    Can someone please point me in the right direction?

    Thanks
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Did you look at the template bbcode_video ?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Tal-
      New Member
      • Nov 2010
      • 6
      • 4.0.x

      #3
      Hi,

      Moments after posting this I have found it is referenced inside of vbcms.css as '.showpreviewonly object' - I was looking everywhere for the previewvideo variable and was actually on a wild goose chase.

      Thanks very much for your quick response though

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Thanks for posting back about the solution!

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎