The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

last post css box

3 posters

Go down

In progress last post css box

Post by S-t-e-v-e- November 29th 2013, 9:55 am

i want an box around the last post on my forum index page i thought dd.lastpost was for this but this css code change thing i dont want example the Last Posts title and does the same with topic in forum also... i know this is possible on forumotion becasue i have seen it on another forum


Code:
dd.lastpost {
            background-color: rgb(220, 234, 245);
            border-bottom-color: rgb(195, 224, 241);
            border-bottom-style: solid;
            border-bottom-width: 1px;
            border-left-color: rgb(102, 102, 102);
            border-left-style: none;
            border-left-width: 0px;
            border-right-color: rgb(195, 224, 241);
            border-right-style: solid;
            border-right-width: 1px;
            border-top-color: rgb(255, 255, 255);
            color: rgb(102, 102, 102);
}
avatar
S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

In progress Re: last post css box

Post by Ange Tuteur November 29th 2013, 1:46 pm

Hello S-t-e-v-e-,

You just need to add the parent before .lastposts selector.

Exemple:
Code:
.row .lastpost
That will keep it to only the forum rows.

I assuming that other forum would be ForumActif. last post css box Whistle
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: last post css box

Post by S-t-e-v-e- November 29th 2013, 3:14 pm

yea i saw it on there Smile 

nearly there the box's are still showing up on the forums list of topic i only want it on the index page Smile
avatar
S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

In progress Re: last post css box

Post by Ange Tuteur November 29th 2013, 3:19 pm

Ah yes, I had forgotten.

This should be the correct selector set:
Code:
.forabg .row .lastpost
Should keep it only to Category forums, and subforum category forums.

I think this one worked too:
Code:
.topiclist.forums .lastpost
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: last post css box

Post by S-t-e-v-e- November 29th 2013, 5:03 pm

thanks mate :)job an goodone Smile


edit: just notice another problem which i cant fix


some forum are larger the other so i wanted to set the height

i did this

            height: 99% !important; 

and nothing heppen blackeye
avatar
S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

In progress Re: last post css box

Post by Sir Chivas™ November 29th 2013, 5:29 pm

Hi,

Can you provided your forum URL? You can PM it to me, that's if you wish.

Thank you.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: last post css box

Post by Ange Tuteur November 29th 2013, 5:39 pm

Percentages will take little effect on that element, you instead have to use pixels.

Code:
.topiclist.forums .lastpost{
height:100px;
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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