People who code: we want your input. Take the Survey

Questions tagged [twitter-bootstrap]

Twitter Bootstrap is a front-end framework designed to kick-start development of Web apps and sites

Filter by
Sorted by
Tagged with
11
votes
6answers
32k views

WordPress Admin Bar Overlapping Twitter Bootstrap Navigation [closed]

I am having an issue with the WordPress admin bar overlapping the Twitter Bootstrap (2.3.0) nav bar. I have tried this fix: body.admin-bar .navbar-fixed-top { top: 28px; } .navbar .brand { ...
3
votes
2answers
15k views

Bootstrap drop down menu with wp_nav_menu

I am trying to build a Wordpress theme with boostrap, but the nav menu is giving me some trouble. I would like the dropdown to work like boostraps dropdown, but I do not know how to do this. This is ...
6
votes
4answers
9k views

How to modify an image block in Gutenberg WordPress 5?

Adding images to a post with the block editor: produces the code figure of: <figure class="wp-block-image"> <img src="http://localhost:8888/time.png" alt="alt text" class="wp-image-1391"...
3
votes
4answers
17k views

wordpress nav menu using twitter bootstrap

I'm using twitter bootstrap in my theme. I'm trying to use bootstrap menu in my theme. But it use custom attributes like data-toggle. Here is the full code. <ul class="nav"> <...
3
votes
3answers
9k views

Getting Bootstrap accordion working in Wordpress loop with custom post type (collapsing issue)

First off I am well aware that there is a plugin but I am NOT talking about the BS Short code plugin. I am talking about the actual bootstrap accordion. So here is what I am trying to accomplish, I am ...
3
votes
1answer
7k views

HTML Bootstrap navigation menu to Wordpress menu using wp_nav_menu

I am trying to convert my existing HTML Bootstrap menu into Wordpress theme menu. I already created menu called "Primary" in Wordpress, but can't get it in theme exactly the same as in HTML. My HTML ...
6
votes
4answers
12k views

Display custom post type and custom fields within a Bootstrap Carousel

I am using the "Types" wordpress plugin for the first time. I created a custom post type, as well as some custom fields. How do I dynamically call all the custom posts into a Bootstrap carousel, ...
5
votes
1answer
20k views

adding some custom html code to the wp_nav_menu function

I would like to implement some custom html code to the wp_nav_menu function in WordPress so that I can add a bootstrap modal box to a navigation menu link but I am unsure how to go about it. The post ...
2
votes
1answer
15k views

how to install bootstrap to twentyfourteen theme

Im new with using wordpress and im wondering if it is possible to install bootstrap to my twentyfourteen theme? Thanks!
2
votes
2answers
2k views

Twitter Bootstrap Use Collapse in Custom Post Type

I am using Bootstrap with Wordpress and I want to implement the collapse functionality in the content for single pages of a specific custom post type. I know I could create a shortcode, however, ...
0
votes
1answer
1k views

How to Modify a Widgets UL and/or LI Classes

Im attempting to use twitter UL styles on a custom menu widget. For example, in BootStrap they have a Nav List Style for UL's <ul class="nav nav-list"> <li class="nav-header">List ...
0
votes
1answer
238 views

Text symbols in the navigation menu

Just faced the following issue. The problem is when I paste the font-awesome code in my navigation menu point I see the text <i class="fa fa-shopping-cart" aria-hidden="true"></i> (...
0
votes
1answer
603 views

Output the aria-labelledby parameter for a nav menu child

Although i know about Bootstrap nav menu class, i decided to write my own Walker, so i can have better control on what's printed and, in case of need, i have no issues with licenses. THE PROBLEM My ...
0
votes
1answer
721 views

display WP image posts in Bootstrap 4 modal

I have a series of image posts displayed on a page of a WP site that uses Bootstrap 4 _ The link to the development site is also online here The images normally display in a larger size when they're ...
0
votes
1answer
5k views

Two column layout using Bootstrap [closed]

Can anyone help me with this? <div class="container"> <div class="row"> <div class="col-sm-8"> <div class="row" style="margin-bottom: 30px;"> ...
0
votes
1answer
3k views

How to convert bootstrap tab functionality into wordpress using just 1 query?

I'm creating a theme using Bootstrap and want to use the Bootstrap tab functionality in WP. Here is my code and it's working just fine. As you see in the code below, I've used one loop for tab menus ...
0
votes
1answer
1k views

How do I properly register bootstrap JavaScript into WordPress functions.php?

I am new to bootstrap and WordPress and trying to put together a simple page. So, it doesn't surprise me that I'm running into dependency problems adding and registering scripts from both the header ...