- This topic has 5 replies, 3 voices, and was last updated 1 year, 3 months ago by
Ying.
-
AuthorPosts
-
June 13, 2022 at 1:29 am #2251660
Sabbir
Hi,
I want to add a border under the posts title and an arrow on right side like the screenshot (https://prnt.sc/HxGDZ-R17aHA)
also want round the search box and next previews post design as like screenshot.
I like to do this for this site archives pages: https://www.disabilityresources.org/state-services
can you help me with that?
Thanks advance
June 13, 2022 at 3:16 am #2251763Fernando Customer Support
Hi Sabbir,
Here’s a CSS you may try adding in Appearance > Customize > Additional CSS:
.category-95 main#main > article { border-bottom: solid 1px #333; padding-bottom: 20px; position: relative; } .category-95 main#main > article:after { color: #777; content: "\2192"; font-weight: 300; font-size: 20px; position: absolute; top: 0; right: 0; } .category-95 input#wp-block-search__input-1 { border-radius: 30px; } .category-95 nav#nav-below .nav-links > a { border: solid 1px black; border-radius: 4px; background-color: black; color: white; padding: 2px 5px; margin: 0 4px; } .category-95 nav#nav-below .nav-links span.page-numbers.current { border: solid 1px black; border-radius: 4px; background-color: white; color: black; padding: 2px 5px; margin: 0 4px; } .category-95 nav#nav-below .next > span, .category-95 nav#nav-below .previous > span { display:none; } .category-95 nav#nav-below .nav-links { width: 100%; display: flex; justify-content: center; position: relative; } .category-95 nav#nav-below .next { position:absolute; right:0; top:0; } .category-95 nav#nav-below .previous { position:absolute; left:0; top:0; }
Kindly modify the values to your liking. This code will work only for this Category as requested. If you wish to make it work for other categories, replace
.category-95
with.category
.Hope this helps!
June 13, 2022 at 5:41 am #2251878Sabbir
Thank you so much, it’s works.
June 13, 2022 at 5:05 pm #2252575Fernando Customer Support
You’re welcome Sabbir!
June 20, 2022 at 9:27 am #2259283Sabbir
Can you tell me if the spacing between the page link and the page description text can be removed so there’s no space in between them? (Search Result page) Take a look at the screenshot: https://prnt.sc/1IoVQimKBTV3. I’m referring only to the space which I highlight in yellow for each search result.
June 20, 2022 at 9:59 am #2259315Ying
StaffCustomer SupportTry this:
.search .entry-summary { margin-top: 0; }
-
AuthorPosts
- You must be logged in to reply to this topic.