TinyPortal

Development => Support => Topic started by: Skhilled on October 22, 2023, 03:32:18 PM

Title: Article Border-radius On The Frontpage
Post by: Skhilled on October 22, 2023, 03:32:18 PM
Hi, I've been trying to make the articles on frontpage look like the rest of the blocks that have a blue border at the top with no border-radius. But no matter what I do I can't seem to make the articles the same way even if the text or centered or not. Is there something I'm missing?

Link to my forum: https://jpr62.com/demos214/index.php
SMF version: SMF ver. 2.1.4
TP version: TP ver. 2.3.1
Default Forum Language: English
Theme name and version: News
Browser Name and Version: Firefox/118.0.2 (64-bit)
 
Title: Re: Article Border-radius On The Frontpage
Post by: @rjen on October 22, 2023, 06:13:37 PM
It is caused by the css for the div class title_bar in your theme...

You can change it or overwrite it in css...

2023-10-22_191025.jpg
Title: Re: Article Border-radius On The Frontpage
Post by: @rjen on October 22, 2023, 06:17:51 PM
You can add this to your custom.css:

.tparticle > .title_bar {
   border-radius: 0 0 0 0;
}
Title: Re: Article Border-radius On The Frontpage
Post by: Skhilled on October 22, 2023, 07:34:24 PM
Ha! I assumed that I would have to do something similar.

A question, tho. Which do you think it's best to use because I've used the 2nd one without any problems:

border-radius: 0 0 0 0;
Or:

border-radius: 0;
EDIT: And thank you! :)
Title: Re: Article Border-radius On The Frontpage
Post by: tino on October 22, 2023, 07:44:03 PM
I'd go with the second one as they're all 0 and if you minify the css that's what will be used anyway.
Title: Re: Article Border-radius On The Frontpage
Post by: Skhilled on October 22, 2023, 07:47:26 PM
Ok, that's what I thought. :)