Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Rounded Corners for Coloured Box Content
New Landing › How can we help? › Cardinal › Rounded Corners for Coloured Box Content
- This topic has 30 replies, 4 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Cardinal
-
December 17, 2014 at 11:18 pm #136428
Hi,
I added the code provided by Kyle and it works fine.
Probably it’s a cache issue, try to clear the browser cache.https://www.dropbox.com/s/4hxrwhr4jtqub8i/rounded_corners.png?dl=0
-Rui
December 17, 2014 at 11:20 pm #136429Thanks RUI,
What about the black shadow on the bottom corners?
December 17, 2014 at 11:49 pm #136431That’s the bottom-border-color that you can change in the css code that you have in you custom css option.
.spb_box_content .box-content-wrap .sf-table { background: none repeat scroll 0 0 #f5f5f5; border-radius: 10px; border-bottom-color:#f5f5f5; }
-Rui
December 18, 2014 at 1:56 am #136434Hi Rui,
Thank you.
How can I target another box on that same page? Or make those rules apply to all boxes on a particular page?
George
December 18, 2014 at 3:34 am #136438This reply has been marked as private.December 18, 2014 at 5:32 am #136444Hi,
Please use this css code for a specific page:-/* i used .page-id-10 to a specific page class and 10 is here page id.*/ .page-id-10 .spb_box_content .box-content-wrap .sf-table { background: none repeat scroll 0 0 #f5f5f5; border-radius: 10px; border-bottom-color:#f5f5f5; box-shadow: 1px 1px 1px #ddd; }
CSS code for a specific element, you need to insert a extra class to a particular element. Assume that you have inserted extra class named myextraclass so code would be :-
.spb_box_content .box-content-wrap .myextraclass .sf-table { background: none repeat scroll 0 0 #f5f5f5; border-radius: 10px; border-bottom-color:#f5f5f5; box-shadow: 1px 1px 1px #ddd; }
Hope that should help to you.
Thanks
MohammadDecember 18, 2014 at 11:01 pm #136655Hi Mohammed,
I want to target a specific box, are you saying i should put ‘myextraclass’ in the box options and simply use the css code:
.spb_box_content .box-content-wrap .myextraclass .sf-table {
background: none repeat scroll 0 0 #f5f5f5;
border-radius: 10px;
border-bottom-color:#f5f5f5;
box-shadow: 1px 1px 1px #ddd;
}Is there anything else I need to do, becuase this doesn’t work.
December 18, 2014 at 11:57 pm #136659Hi Mohammed,
I think this works perfectly:
.spb_box_content .box-content-wrap { background: none repeat scroll 0 0 #f5f5f5; border-radius: 10px; border-bottom-color:#f5f5f5; box-shadow: 1px 1px 1px #ddd; }
However I cannot get it to target the particular boxed content sections on my page (https://events.com.au/australian-open-2015-packages/)
The 3 boxed content sections at the bottom of the page under ‘What Next’ is what i’m trying to change, the code works but then the rest of the sections including some text sections across my whole site change and break.
Thanks,
George
December 19, 2014 at 2:36 am #136672Hi,
Please provide me wordpress admin login detail to inspect and resolve the issue easily.
Thanks
MohammadDecember 19, 2014 at 3:04 am #136673This reply has been marked as private.December 19, 2014 at 10:42 am #136721Hi,
Please try to use this custom css code:-
/* myextraclass is the extra class*/
.spb_box_content .box-content-wrap.myextraclass {
background: none repeat scroll 0 0 #f5f5f5;
border-radius: 10px;
border-bottom-color:#f5f5f5;
box-shadow: 1px 1px 1px #ddd;
}Please insert extra class for element with this text Make a Booking.
Thanks
MohammadDecember 29, 2014 at 4:28 am #138029Hi Mohammed,
It just doesn’t work, I’ve inserted the extra class ‘myextraclass’ and there’s no change at all.
Something must be wrong with the css coding.
George.
December 29, 2014 at 4:29 am #138030The code works when .myextraclass and/or .page-id-16605 is removed.
But when either are in there, to target a specific post or element inside a post it doesn’t work.
December 29, 2014 at 4:52 am #138031Hi,
May i have specific page url to check?
Thanks
MohammadDecember 29, 2014 at 4:56 am #138033This reply has been marked as private. -
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.