Announcement

Collapse
No announcement yet.

Forum Category Spacing on Homepage (no template editing required and vBCloud compatible)

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • come2
    replied
    Many site already did that without <script>
    take a look

    Leave a comment:


  • glennrocksvb
    commented on 's reply
    You have to add the same script in the phrase for the other language. The script is important as you may have noticed.

  • glennrocksvb
    commented on 's reply
    No, you can't.

  • come2
    replied
    Can we do it without <script>
    I remember we just add/edit some code to do that in vBulletin 3. Can we do something just like that?

    Leave a comment:


  • come2
    replied
    if I change the language to English Language the code works fine but with other languages not
    Click image for larger version

Name:	Untitled.png
Views:	149
Size:	3.3 KB
ID:	15963
    Attached Files

    Leave a comment:


  • glennrocksvb
    replied
    Adding custom CSS code should go in css_additional code. Can you post screenshots of how the page looks like and the code in css_additional as seen by the browser?

    Leave a comment:


  • come2
    replied
    Yes, I can see your code.

    Can we do it by editing template or something else which can be working on my site

    Leave a comment:


  • glennrocksvb
    replied
    When you view the source of css_additional in the browser, do you see the custom code?

    Leave a comment:


  • come2
    replied
    It’s on my localhost
    I don’t have any css codes in my css_additional just your code

    Leave a comment:


  • glennrocksvb
    replied
    Need to post or PM a link to your site. You may have other custom CSS that's overriding the CSS used in this mod. That's why I have a note there that says:

    Originally posted by glennrocksvb View Post
    You may need to tweak some values if you have customized style/theme.
    Or you might have added the custom CSS in a different style/theme other than what you are using on the front-end.

    Leave a comment:


  • come2
    replied
    It’s not working for me, the homepage still as it was! I did everything with no problem on my test site. I have (vB 5.4.5) not vBcloud version.

    Leave a comment:


  • watershed
    replied
    Thanks! That solved the left part of this issue, and I was able to find how to solve the right part:

    Replace

    Code:
    #forum-tab.forum-category-spacing .forum-item-last .cell-forum:before {
        content: '';
        display: block;
        height: -webkit-calc(100% - 16px);
        height: calc(100% - 16px);
        width: 1px;
        position: absolute;
        top: 0;
    [COLOR=#FF0000]{vb:stylevar left}: 0px;[/COLOR]
        background: #C9CED2;    
    }
    With

    Code:
    #forum-tab.forum-category-spacing .forum-item-last .cell-forum:before {
    content: '';
    display: block;
    height: -webkit-calc(100% - 16px);
    height: calc(100% - 16px);
    width: 1px;
    position: absolute;
    top: 0;
    [COLOR=#0000FF]{vb:stylevar left}: -1px;[/COLOR]
    background: #C9CED2;
    }

    Leave a comment:


  • glennrocksvb
    replied
    Change this block:

    Code:
    #forum-tab.forum-category-spacing .forum-item-last .lastpost:before,
    #forum-tab.forum-category-spacing .subforum-list.forum-item-last > td:before {
        content: '';
        display: block;
        height: -webkit-calc(100% - 16px);
        height: calc(100% - 16px);
        width: 1px;
        position: absolute;
        top: 0;
    [COLOR=#FF0000]{vb:stylevar right}: -1px;[/COLOR]
        background: #C9CED2;    
    }
    with:

    Code:
    #forum-tab.forum-category-spacing .forum-item-last .lastpost:before,
    #forum-tab.forum-category-spacing .subforum-list.forum-item-last > td:before {
        content: '';
        display: block;
        height: -webkit-calc(100% - 16px);
        height: calc(100% - 16px);
        width: 1px;
        position: absolute;
        top: 0;
    [COLOR=#0000FF]{vb:stylevar right}: 0;[/COLOR]
        background: #C9CED2;    
    }

    Leave a comment:


  • watershed
    commented on 's reply
    Fine example of unnecessary censorship, makes it look much worse than what I wrote

  • watershed
    replied
    Click image for larger version  Name:	offsetmark.jpg Views:	1 Size:	19.8 KB ID:	14666

    Here you go, I realize that this is nitpicking the **** out of it

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"