Experiencing Difficulty Personalizing Bootstrap Navigation Bar

I am attempting to add a circular border to a Font Awesome icon and this is the result: https://i.sstatic.net/28NFV.png

This code snippet is for the page header. My goal is to enlarge the buttons when the screen size changes.

 .circle-icon {
width: 80px;
height: 80px;
border-radius: 50%;
text-align: center;
line-height: 100px;
vertical-align: middle !important;
padding: 30px;
border-color: #fff; 
border-width:1px; 
border-style:solid;}

The above code is just a portion of the menu design

   <div class="col-xs-6 col-md-8">
            <div class="row icon-bar">
                <div class="col-lg-2">
                    <a class="active" href="#">
                        <i class="fa fa-tag circle-icon"></i>
                        <div style="font-size:14px !important; padding: 7px !important;">
                            Voucher
                        </div>
                    </a>
                </div>
                <div class="col-lg-2">
                    <a href="#">
                        <i class="fa fa-qrcode circle-icon"></i>
                        <div style="font-size:14px !important; padding: 7px !important;">
                            Redeem

                        </div>
                    </a>
                </div>

Answer №1

Consider adjusting the padding to see if it improves the layout. I hope this suggestion proves helpful!

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the method to modify the hover background color and click background color for a dropdown item using Bootstrap Vue?

Hovering over the dropdown will change its background color to a light gray. The code below shows the dropdown in a navbar. <b-nav-item-dropdown text="TOOLS" right> <b-dropdown-item href="#" class="dropdown-mine">1</b-dropdown-item> ...

Responsive mode causing navbar to break

After creating my web portfolio, I encountered an issue when viewing it on my phone. The navbar collapses but is not properly aligned and there is extra space on the right side of the viewport in the hero section that I can't seem to fix. Portfolio L ...

Tips for retrieving data from a database with just one key press

There is a text field that triggers a JavaScript function when a key is pressed. <input type="text" class="text" id="txt_sh_vid" onKeyPress="vhc_record()" maxlength="4"> The function takes the input from the text field and searches for a result in t ...

Encountering problem with loading iframe URL within Angular application

In one of my components in an Angular application, I am attempting to iframe a URL. The HTML code added in the component for the iframe is as follows: <iframe src="https://www.google.com"></iframe> I have included a Content-Securit ...

determine the height of div element for A4 size paper dimensions

Is there a way to calculate how many A4 papers would fit into a div on my website? I am aware that the size of an A4 paper in pixels varies depending on the screen's DPI. I am exploring methods to determine the user's screen DPI, convert it to A4 ...

Hiding Various Sections Based on Checkbox and Date Selections

I'm currently working on an HTML project that involves creating a list of restaurants. I want to provide users with the option to view only the restaurants that are open on a specific day. For example, each restaurant will be contained within its own ...

Utilize JavaScript to determine the clicked button and dynamically modify relevant HTML elements

I have a website with several buttons that are meant to open or close specific HTML details. Here are some examples of my buttons: <button onClick="showdetail()" class="stage-detail">1</button> <button onClick="showdetail()" class="stag ...

Updating Angular model remotely without relying solely on the controller

I am struggling to call the addRectangleMethod method from my Javascript code in order to retrieve server-side information into the Angular datamodel. However, I keep encountering an error stating that the method I'm trying to call is undefined. It&ap ...

Deactivate checkboxes containing a specific word when a checkbox with the same word is selected

I have successfully implemented a code snippet for generating dynamic checkbox fields and storing unique batch IDs as comma-separated values in the database for each specific user. <?php // Retrieving data from a MySQL database table foreach ($result as ...

There are two different ways to set a hyperlink in HTML. One method is by using the href attribute, where you provide the URL inside the quotation marks. The other

While browsing, I stumbled upon this interesting piece of JavaScript code: onClick="self.location.href='http://stackoverflow.com/'" I incorporated this code into my website, and it seems to have the same effect as using the href attribute. Sin ...

Tips for creating equal height columns in Bootstrap 4

Working with Bootstrap 4 Beta in an attempt to create two columns that maintain full height regardless of screen size. The code below functions perfectly, ensuring both columns maintain full height across all devices. However, upon inserting the bootstra ...

Javascript animation functioning for a singular item within a list

As I continue practicing my skills in Javascript and HTML, I stumbled upon this intriguing list known as "item/adapter", similar to what we refer to as adapters in Android. While the process of adding them programmatically to my div is working smoothly, I& ...

Show stored procedure query results in ASP.NET MVC

After spending over 8 hours attempting this task, I seek assistance. Please take note of the edit at the bottom. Implementation of Stored Procedure CREATE PROCEDURE SIX6 (@YEAR INT) AS BEGIN SELECT * FROM (SELECT Song ...

Within my table, there are multiple columns, the last two of which have the "is-sticky" class. My goal is to add unique styles specifically to the first sticky column

<td> ...</td> ... ... ... <td class="is-sticky">...</td> <-- looking to add a unique style here <td class="is-sticky">...</td> <-- no styles should be applied here Within the provided code snip ...

What could be causing media queries to not update values even after being changed through JavaScript?

I have a simple navigation bar on my website, featuring links to different subpages. To enhance the user experience on mobile devices, I added a hamburger menu icon that is displayed on smaller screens. The links in the navigation bar are hidden using CSS ...

Is your animation glitching due to axis restrictions?

I decided to create my own version of the Google Maps icon using Photoshop, and now I want to replace the current image with my duplicate when the link that wraps around both is hovered over. To achieve this, I used the position: absolute property to layer ...

Is it possible to implement a code that will organize a dropdown list alphabetically?

Could someone assist me in sorting the location items alphabetically in this search form at: I would like the locations to be displayed in alphabetical order. Any help with updating the code below would be greatly appreciated. Here is the current code sn ...

The CSS hover effect for text backgrounds is acting unexpectedly when the mouse moves away

I’ve added a hover effect to an h1 tag (check out the code and demo below), but it’s acting strangely when I move the mouse away, almost flickering before returning to its original state. Any suggestions on how to smoothly transition back to its origi ...

Bootstrap 3's Clear:Left Media Query Feature

Bootstrap is being used, and there is a div with col-xs-12, col-sm-6, col-md-4 classes. Task : To add a clear on every 1 item for col-xs-12, add a clear on every 2 items for col-sm-6, and clear on every 3rd item for col-md-4. The current code only s ...

Creating a Stylish ExtJS Container with CSS: A Step-By-Step

I've been experimenting with the ExtJS properties cls, bodyCls, and componentCls but unfortunately, I'm not achieving the desired outcome. As an illustration: Ext.create('Ext.form.Panel', { renderTo: document.body, title: &apo ...