vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Location Of "Threads and Posts" - Template Changing (https://vborg.vbsupport.ru/showthread.php?t=317984)

Inked_Mono 03-26-2015 06:33 PM

Location Of "Threads and Posts" - Template Changing
 
So I'm looking to move the total thread and post count on the -threadisplay- and stick 'em towards the bottom of the grid design I've been slowly putting together, but I'm not nearly knowledgeable enough in CSS to make it work.

What I have:
http://i.imgur.com/9EAtSCM.png

What I'd like:
http://i.imgur.com/GgxSC62.png

But of course centered and spaced appropriately. Does anybody have any idea what I could do to make this happen? Thanks in advance!

EDIT: And for bonus points, is it possible to take the linked part of the section (the title), and have it so that clicking anywhere on said box will forward the user to the forum's content?

Replicant 03-26-2015 07:56 PM

A link to the site would help.

Inked_Mono 03-26-2015 07:59 PM

Quote:

Originally Posted by Replicant (Post 2541622)
A link to the site would help.

Good point.

Link: http://www.meridian317.com/forum/forum.php

Replicant 03-26-2015 09:30 PM

Try this. In order for this to look good, you will need to adjust your grid height or limit your description text to two strings

Code:

ul.forumstats.td{display:inline-block;width:100%}
ul.forumstats.td > li:nth-child(1){display:inline-block;float:left}


Inked_Mono 03-26-2015 09:37 PM

Quote:

Originally Posted by Replicant (Post 2541628)
Try this. In order for this to look good, you will need to adjust your grid height or limit your description text to two strings

Code:

ul.forumstats.td{display:inline-block;width:100%}
ul.forumstats.td > li:nth-child(1){display:inline-block;float:left}


Should I place that in the additional.css?

Replicant 03-26-2015 09:43 PM

Yes

Inked_Mono 03-26-2015 09:59 PM

Quote:

Originally Posted by Replicant (Post 2541630)
Yes

http://i.imgur.com/1SC8btk.png

Awesome, thank you! Now I just have to push them closer to the center and it'll be perfect.

Replicant 03-26-2015 11:12 PM

:up:
Quote:

Originally Posted by Inked_Mono (Post 2541615)

EDIT: And for bonus points, is it possible to take the linked part of the section (the title), and have it so that clicking anywhere on said box will forward the user to the forum's content?

Nudge: This can be accomplished with jquery. >> Jquery Docs <<

Inked_Mono 03-27-2015 01:10 AM

Quote:

Originally Posted by Replicant (Post 2541641)
:up:

Nudge: This can be accomplished with jquery. >> Jquery Docs <<

Another language I know nothing about, haha. I spoke with an acquaintance and they mentioned it could be done entirely in CSS. Would you know anything about that?

Replicant 03-27-2015 01:45 AM

JQuery is new to me too. To the best of my knowledge, it cannot be done with css. If you find a way, please let us all know. Since you don't seem to be too interested in learning a new programming language, try this one. Create a new ad, global, above footer and copy this code into it. Let me know if it works for you. It works on my test site.
Code:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>$(".forumrow.table").click(function (event) {
    var url = ($(this).find('a').attr('href'));   
    $(window.location = url);
});</script>



All times are GMT. The time now is 10:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01203 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete