The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Please help category and box

Go down

Please help category and box

Post by Glavee on January 10th 2016, 10:09 pm



1. How do I make space between categories?
2. How do I create a box there?

Thanks!
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by 10spetter10 on January 10th 2016, 10:45 pm

  1. Do you want to make the border thicker?

    Code:
    .main-content .statused td {
      border-top-width: 5px !important;
    }

  2. The best solution would be when you place a div around the elements inside your template 'index_box '. Else you can mess with css but then there is a big chance it will look weird with an other screensize.


avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Re: Please help category and box

Post by Glavee on January 11th 2016, 1:04 pm

@10spetter10 wrote:
  1. Do you want to make the border thicker?

    Code:
    .main-content .statused td {
      border-top-width: 5px !important;
    }

  2. The best solution would be when you place a div around the elements inside your template 'index_box '. Else you can mess with css but then there is a big chance it will look weird with an other screensize.



1. Actually, I want to remove that border, but if you would give me the code that change the border's color to white (if that's possible) it would make it.

2. I don't really understand what are you saying, but here is an example http://help.forumgratuit.ro/forum (that's the romanian Forumotion's version). Here if you go to navbar to Home (Acasa) and look at the last posts (Ultimele mesaje) you will see about what box am I talking about.
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by 10spetter10 on January 11th 2016, 1:48 pm

  1. If you want it white you can use this code:

    Code:
    .main-content .statused td {
        border-top-color: #ffffff !important;
    }

    But if you want it gone you can change the width to 0.

  2. That romanian support forum is phpBB3, there you can make without template editing. For a punBB forum you will need to edit the 'index_box ' template.
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Re: Please help category and box

Post by Glavee on January 12th 2016, 9:27 pm

1. Done!

2. So, can you give me the code for template, and where I have to insert it?
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by Luffy on January 12th 2016, 9:49 pm

@Glavee go to your Admin Panel > Display > Templates > General > index_box
edit the template and search for:
Code:
<td class="tcr">

once you find it replace it with this one:
Code:
<td class="tcr" id="boxLastPost">

Save the template and publish it by pressing the green cross. Then go to your CSS and style it as you want using the element:
Code:
#boxLastPost {
background:#XXXXXX;/*replace the XXXXXX with the hex color your want*/
padding:3px;
}





avatar
Luffy
Manager
Manager

Male Posts : 4989
Reputation : 510
Language : Greek, English
Location : Greece

https://www.inforumgr.com

Back to top Go down

Re: Please help category and box

Post by Glavee on January 12th 2016, 10:18 pm



That's not exactly what I want @Luffy
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by Luffy on January 12th 2016, 10:54 pm

The styling you can change it as you like. For example:
Code:
#boxLastPost {
background:#000000;
padding:3px;
margin:5px;
border-radius:5px;
}





avatar
Luffy
Manager
Manager

Male Posts : 4989
Reputation : 510
Language : Greek, English
Location : Greece

https://www.inforumgr.com

Back to top Go down

Re: Please help category and box

Post by Glavee on January 13th 2016, 2:02 pm

I just changed my forum version to phpbb3 cause it looks like it's the most used and simple. Can you provide me the code for phpbb3?

Thanks!
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by 10spetter10 on January 13th 2016, 3:09 pm

this is indeed much easier on phpBB3, try this css:

Code:
dd.lastpost {
  border: 1px solid #595959;
  background-color: #E9E9E9;
  border-radius: 5px;
  margin: 3px 0px;  /* distance between top and bottom */
}
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Re: Please help category and box

Post by Glavee on January 13th 2016, 4:09 pm

@10spetter10 as you can see in my forum, "LAST POST" does have it's box aswell. It's there any way to remove it?
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by 10spetter10 on January 13th 2016, 5:36 pm

Oops, I didn't noticed that while testing. Embarassed

Code:
li.header dd.lastpost {
  background: none;
  border: none;
}
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Re: Please help category and box

Post by Luffy on January 13th 2016, 5:41 pm

@Glavee could you please edit your website on your profile because i get an error while i try to visit your forum. That way i cannot really help if i can help! Smile

Thanks!





avatar
Luffy
Manager
Manager

Male Posts : 4989
Reputation : 510
Language : Greek, English
Location : Greece

https://www.inforumgr.com

Back to top Go down

Re: Please help category and box

Post by Glavee on January 13th 2016, 6:20 pm

@Luffy Done!
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Re: Please help category and box

Post by Glavee on January 14th 2016, 3:07 pm

BUMP!
avatar
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum