Announcement

Collapse
No announcement yet.

channel discription padding?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • channel discription padding?

    I used this tcss to change forum icons, but when I did it did this to channel description. How can i fix?

    /* start custom forum icons */
    /* Forums */
    .forum-list-container .forum-item .cell-forum .icon {
    background: transparent url("http://i61.photobucket.com/albums/h65/LoudPipesOnBikes/standardiconforuse_zpsjnm6lm3v.gif") no-repeat; /* forum icon for forums with old posts */
    width: 50px; /* icon width */
    height: 52px; /* icon height */
    }
    .forum-list-container .forum-item.new .cell-forum .icon {
    background: transparent url("http://i61.photobucket.com/albums/h65/LoudPipesOnBikes/withposticons_zps1vi8jsxu.gif") no-repeat; /* forum icon for forums with new posts */
    width: 50px; /* icon width */
    height: 52px; /* icon height */
    }
    .forum-list-container .forum-item .cell-forum > .forum-wrapper > .forum-info {
    padding-{vb:stylevar left}: 88px; /* icon width + 8 */
    }
    .forum-list-container .forum-item .cell-forum .forum-desc {
    margin-{vb:stylevar left}: 68px; /* icon width + 8 */
    margin-top: -4px; /* 17 - icon height */
    }
    /* Sub Forums */
    .forum-list-container .subforum-list > td {
    padding-{vb:stylevar left}: 53px; /* icon width + 13 */
    }
    /* Responsive */
    media only screen and (max-width: 768px) {
    .forum-list-container .forum-item .cell-forum .forum-desc {
    margin-{vb:stylevar left}: 48px; /* icon width + 8 */
    }
    .forum-list-container .subforum-list > td {
    padding-{vb:stylevar left}: 73px; /* icon width + 33 */
    }
    }
    /* end custom forum icons */

    .subforum-list {display:none;}


  • #2
    Try replacing:

    Code:
    {vb:stylevar left}
    with:

    Code:
    left

    GIPHY for vB5 | AutoLinker | User Social Network Icons in Postbit | Audio Attachments Player | Clear System Cache Cron | Drag-n-Drop Upload | Topic AJAX AutoUpdate | Force Read Topic | and a lot more...

    Comment


    • #3
      just put left in its place no brackets?

      Comment


      • Glenn Vergara
        Glenn Vergara commented
        Editing a comment
        Yes, correct.

    • #4
      Thanks Glenn worked like a charm

      Comment

      Related Topics

      Collapse

      Working...
      X