Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [twitter-bootstrap]

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

0
votes
0answers
14 views

Show desktop screen for tablets (using Elementor + Bootstrap + WordPress)

I am working on the website www.unityinfinity.com/ui The website shows the tablet view from 768px to 992px. I want to show the desktop view on tablets by default instead of the weird screen that is ...
0
votes
1answer
23 views

How to remove the gap on right side of webpage (using Bootstrap with WordPress)?

This padding on the right side of the webpage (unityinfinity.com) was not visible when it was in development. I recently shifted the website to the main directory using the steps in this post. Since ...
0
votes
0answers
29 views

Bootstrap Wordpress Custom Menu Item and Navwalker [on hold]

I am building a wordpress theme with bootstrap and I am using this navwalker to display the menu so that it uses bootstrap. Now the thing is that I also added another menu item (it's a link to cart, ...
0
votes
0answers
13 views

Wordpress custom nav menu link not working [on hold]

I've added a custom link to an external website in my wordpress menu. If I open it in a new window, the link are opened, but if I try to click on it from the wordpress nav it will not work. It seems ...
0
votes
2answers
18 views

change background image on scroll

I want to create a background image effect that will change the image when the user scroll. I'm facing a problem with the images urls, how i can fix this? How I can link an image url in jquery from a ...
0
votes
1answer
16 views

Bootstrap tabs are not being clicked in WordPress loop

I am trying to show some Bootstrap tab contents within a WordPress loop. The tabs are not being clicked. Here are the bootstrap codes: <ul class="citenav nav nav-tabs" id="myTab" role="...
0
votes
1answer
7 views

two col layout bootstrap 4 with one fixed col and fade in effect on image

I've created a layout for my single post that have a fixed column and another that contains images that has the vertical scroll. I'm using viewportchecker to check if the images are inside the ...
0
votes
1answer
29 views

Masonry grid with bootstrap 4

I have the following code that is supposed to display a masonry grid using bootstrap 4. I've tested the code but the grid will not be displayed correctly on desktop and tablets. On mobile instead ...
0
votes
0answers
14 views

custom post type not showed with bootstrap 4 modal and template part

I've created a showcase template part that will get all my custom post_type for a showcase. The problem is that I've 18 entries added and the template part will only show 10 entries. I've used a ...
0
votes
1answer
20 views

hide attached images of a post

I've read an article on how to implement a custom Gallery template in wordpress posts or pages. I have a simple question, is it possible to not show the attached images inside the post content but ...
1
vote
2answers
54 views

Create A Loop With A Variable Number of Posts For Each Bootstrap Row?

I'm attempting to create a single WP loop, using a custom query, to display a custom-post-type - using Bootstrap 4 markup. The complicating part for me is, I'd like the number of posts for each row ...
1
vote
1answer
47 views

bootstrap 4 carousel inside every post of a page [closed]

I want to integrate a bs4 carousel inside all the posts of a wordpress page that is a portfolio. I'm thinking to use the attached images of a post, I don't want to use custom post type to do this. Can ...
0
votes
1answer
29 views

How can I allow a client to edit certain parts of a static site?

So I have a website created using bootstrap and want to allow for my client to have some control and editing abilities, hence why I want to migrate it to wordpress. The client wants to be able to add ...
1
vote
2answers
233 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"...
0
votes
0answers
27 views

Posts in two different columns Bootstrap

I want the posts on the main page to be arranged in Bootstrap columns in this way: I have this code, but instead of the first two posts, only one is displayed. <?php get_header(); ?> <?php $...
0
votes
0answers
29 views

Multiple responsive Bootstrap carousels via shortcodes

I'm writing a shortcode to display responsive Bootstrap carousels that adjust column numbers according to browser width. It works for a single shortcode, and responsively adjusts as follows: However,...
1
vote
1answer
27 views

Why is my oembed function modifying Twitter embed?

Building a theme with Boostrap 4 and WordPress 5.0.1. Under Bootstrap's documentation for embed video the following format is required for responsive videos: <div class="embed-responsive embed-...
1
vote
1answer
36 views

WP_bootstrap_Navwalker_issue [closed]

I have put a navwalker in my bootstrap wordpress which gives me a fatal error Fatal error : Uncaught Error: Class 'WP_Bootstrap_Navwalker' not found in A:\xampp\htdocs\wordpress\wp-content\...
0
votes
0answers
26 views

Siderbar implementation with collapsible bootstrap cards

I'm trying to implement collapsible Bootstrap 4 cards on sidebar widgets, until now I have this: register_sidebar( array( 'name' => esc_html__( 'New Sidebar', 'ns' ), ...
0
votes
1answer
31 views

How to neutralize a parent theme php template?

I use to work a basic theme with a child-theme. The parent theme contains the woocommerce.php template, which I would like to disable in the child theme. I already used several codes in the child ...
0
votes
0answers
21 views

wp_nav_menu() filter - preg_replace value returned wrong

I'm having an issue where the filter I've added to wp_nav_menu() is adding code to the second level of the navigation. How can I change the filter or the preg_replace code in a way that only adds it ...
1
vote
1answer
42 views

WordPress \ Bootstrap 4 not building breadcrumbs correctly

I have this code in my WordPress functions.php to create breadcrumbs for pages only. What am I doing wrong? Thanks. I want to use bootstrap navs. The problem is that the short tag, the_title(), is ...
-1
votes
1answer
33 views

Bootstrap News: Image Modifciation

I want to improve the design of my website (https://pixelbay.net/). Rather than altering the image myself via Gimp every time I want to post, one feature I want to add is that the main category ...
0
votes
0answers
17 views

How doI keep the mobile menu in a desktop configuration? (I need troubleshooting help)

Please forgive me if I am not asking the question clearly enough. I purchased a wordpress template from an 3rd party vendor so that I could have a vertical main menu. I am now trying to keep the "...
0
votes
2answers
26 views

Wordpress Loop with different Column sizes

I'm trying to make a loop that does the following, The first post is a different column size, and every post under that is a col 6. I'm using bootstrap. this image shows what i'm trying to ...
1
vote
1answer
27 views

Create / Close Div in Array [closed]

Found several similar questions, couldn't get anything to work. Trying to setup a bootstrap card that is created from array data. I am using the code below to create the divs if the array has data. ...
0
votes
1answer
22 views

Change menu for mobile

I am working on a WordPress website, where I try to show a different menu based on the device (desktop vs. mobile). In order to do that, I added some code to the header.php file: <?php ...
-1
votes
2answers
257 views

Make menu bootstrap compatible

I am having an issue with my WordPress nav menu. It is currently looking like this : I am trying to make my bootstrap 3.3.7 (think that's the right version) menu work and that is the error. The line ...
0
votes
0answers
86 views

Bootstrap 4, close responsive navbar automatically when clicked

Im using the Understrap starter theme to make a single page scrolling site with scrollspy and smooth scrolling. I would like the navbar when in smaller screen dropdown to close automatically when ...
1
vote
1answer
946 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 ...
2
votes
1answer
304 views

Working Bootstrap Carousel Conversion to WP - Technical Questions

I have coded a working Bootstrap carousel, it needs to be converted to WP. It's a small chunk of the site, but as a Wordpress newbie, am stuck in understanding the technical issue. So here's what I ...
0
votes
1answer
77 views

Displaying Post Content on tooltip

I'd like to display the content of a custom post type, when hovering over a "question mark icon". In order to get the data, I used the following code (series is the custom post type): ...
1
vote
0answers
514 views

bootstrap menu parent toggle and arrow

I have created a menu in Bootstrap 4: Here is the code: <section class="menuBar"> <nav class="navbar navbar-expand-lg navbar-light" data-toggle="sticky-onscroll"> <div class="...
0
votes
0answers
288 views

Bootstrap 4 navwalker - multilevel menu

I'm using this nav walker in my Wordpress project. I want to create multilevel menu, for example. What I need to change to get it work? Or maybe is it another walker for BS4 with multilevel menu ...
1
vote
1answer
2k views

Multi Level Bootstrap Navigation Menu in WordPress

I am converting a static website made with Bootstrap in WordPress. Here is my bootstrap multilevel navigation menu code: <section class="menuBar"> <nav class="navbar navbar-expand-lg ...
0
votes
1answer
253 views

How to change navwalker's dropdown mark-up?

I am using this Bootstrap 4 Navwalker, bs4navwalker, to step through my WordPress menu items and generate a navbar, like... Single level - works <?php wp_nav_menu([ 'menu' ...
0
votes
1answer
33 views

PHP code printed into CSS classes

So, I'm working on a site. I didn't develop and I don't have access to the developers. The site uses a custom designed Bootstrap based theme, built with Page Builder. I just moved the site to a ...
0
votes
0answers
441 views

Bootstrap 4 - include the button within the responsive menu

this is the menu that i am using but problem is - in mobile devices the button is showing out side the menu .. toggler menu is only having the menu in and the button is coming up just below... <...
0
votes
2answers
3k views

How to en-queue bootstrap 4 to theme?

i tried enqueue the bootstap with functions php wp_enqueue_style('bootstrap4', 'https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css'); wp_enqueue_script( 'boot1','https://code....
0
votes
1answer
87 views

wp_get_archives doesn't take effect from css or html

I'll try to keep it short. So basically I'm trying to add custom item to my menu which in this case is the archive dropdown list with months desc. Everything looks nice and clean but the output of ....
0
votes
0answers
13 views

cant add Pagination to wordpress theme

i'm trying with all possible codes to add pagination to my wordpress theme but its impossible ! here is my theme http://alldaytrail.byethost13.com check that i have created a separated page to show ...
0
votes
0answers
35 views

From php web to wordpress conversion, href changes only in URL

I have converted my PHP dynamic website into WordPress. Whole design is perfect. But unfortunately, when I click on any href link. it just changes in URL but not displaying the related linked page. ...
0
votes
1answer
28 views

creating different style CTA button in the menu

I'm wondering if there is a possible way to create two different CTA button style in the same menu in WordPress I've tried something like that by creating two menu href and add two different [btn] ...
0
votes
1answer
980 views

Wordpress style.css not updating, only after theme reload

I am using Bootstrap to put together a Wordpress. I update all my files locally and upload them through Sublime's SFTP. I also use Cyberduck to double check whether changes have gone through fully. ...
0
votes
1answer
528 views

Bootstrap Accordion with Dynamic content Wordpress Archives Unique ID

​ Hello, I have an archive posts page where I am pulling in the posts dynamically and sorting them by Year then Month. I am trying to add the bootstrap accordion effect hiding the months under the ...
0
votes
0answers
21 views

Loop to display different pages on page.php

So i am trying to convert my bootstrap html site to wordpress and since i already have about, services and contact page created, i am trying to use a loop in page.php to call each of the templates (...
0
votes
0answers
267 views

Bootstrap's JavaScript requires jQuery

When I active "wide" template, plugin.min.js script load before jquery.min.js. Because of this, I get these errors on console and javascript, not work: Uncaught Error: Bootstrap's JavaScript requires ...
0
votes
0answers
24 views

How to display only 2 WP galleries on page w/Custom bootstrap 4 gallery filter?

First I want to say this code is working. I am posting here for several reasons: 1st - this may help someone else (the WP gallery was not doing much out of the box with wrong markup for bootstrap) 2nd ...
0
votes
1answer
627 views

Bootstrap accordion looping through posts incorrectly

I have this page on my website - https://visitwinona.com/ask-a-local/ Where I'm calling all the categories of my custom post type faqs, I've implemented the bootstrap accordion, and it works but as I ...
0
votes
0answers
98 views

Bootstrap starter theme styles not working

I'm using starter theme by bootstrap for my wordpress website but when trying to use the navigation which comes with bootstrap starter theme by default, all the styles seems not to be working. There ...