BeautydelaMer Posted November 13, 2013 Share Posted November 13, 2013 I'm looking to add a border around text or any of my blocks. I know it needs to be a custom CSS, but I'm not sure how. Any ideas??? Thanks! Link to comment
jasonwindsor1570047739 Posted November 13, 2013 Share Posted November 13, 2013 If you already know CSS, you just need to identify the ID of the block you want to edit. You'll need to look in your browser's developer module and inspect the element to find what name (usually "block-xxxxxxxxxxxx") has been assigned to that div. Then you can add CSS values for that ID in your custom CSS, but make sure you haven't broken something else by doing it. Link to comment
BeautydelaMer Posted November 18, 2013 Author Share Posted November 18, 2013 I'm not super familiar with finding the name. Would you be able to help me? www.beautydelamer.com I'm looking to add a border around the "Fact Friday" text box. Thanks! Link to comment
BeautydelaMer Posted November 18, 2013 Author Share Posted November 18, 2013 I think I figured it out! Here's what I used: #block-(your ID) { border-style:double; border-color:#299979; border-width:3px; } Go to www.beautydelamer.com to see what it looks like. Link to comment
jasonwindsor1570047739 Posted November 18, 2013 Share Posted November 18, 2013 The block ID that I found was "block-a7e349a6c332bd6940ff". Try replacing: block-(your ID) with: div#block-a7e349a6c332bd6940ff If you put it in exactly as you showed, you may get unintended results. Link to comment
Guest Posted May 27, 2016 Share Posted May 27, 2016 @jasonwindsor @BeautydelaMer Hey I am very new to CSS and I want to do something similar I was wondering if you knew how? I too want a border around my headline font but, with no fill. Like the attached image. Do you know how to do this with a CSS code? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.