Displaying Bootstrap Quotes in a vertical orientation on the screen

https://i.sstatic.net/90qYG.pngI'm struggling to make a long quote display wider horizontally and haven't been able to figure it out. Below are the current HTML and CSS scripts I have. I simply want the text to be shown wider than it currently is. I'm new to web development and am creating a website for my family business, any assistance would be greatly appreciated.

.custom-width-from-the-ceo
  {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

  } 
  
  .con-width
  {
    max-width: 100px;
  }

  .blockquote p 
  {
    margin-bottom: 0;
  }
<section class="vh-100" style="background-color: #eee;">
  <dizv class="container py-5 h-100">
    <div class="row d-flex justify-content-center align-items-center h-100">
      <div class="col col-lg-9 col-xl-7">
        <div class="card" style="border-radius: 30px;">
          <div class="card-body p-5">

            <div class="text-center mb-4 pb-2">
              <img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-quotes/bulb.webp"
                alt="Bulb" width="100">
            </div>

            <figure class="text-center mb-0" >
              <blockquote class="blockquote custom-width-from-the-ceo">
                <p class="pb-3-new">
                  <i class="fas fa-quote-left fa-xs text-primary"></i>
                  <span class="lead font-italic">
                     Kao was founded in Istanbul in 1995 by an idealistic and dynamic team with thirty years of experience in machinery, electronics and metrology.
      With a strong R&D team and modern production lines, Kao has been able to create remarkable products in terms of the technical specifications, ergonomics, aesthetics and the durability.
      Kao has been producing metrological test devices with measurement precision beyond world dtandards and extremenly user-friendly interfaces in the field of metrology
      As Kao-Metrology, we aim to colloborate with industrialists to contribute to creating a more efficient and powerful metrological systems for a reliable future.
      Therefore, we see every product we develop as a helper that opens the door to new possibilities.
      Please don't hesitate to share your thoughts on our products and technologies you encountered on our website.
      Wishing for every tomorrow to be brighter than today...</span>
                  <i class="fas fa-quote-right fa-xs text-primary"></i>
                </p>
              </blockquote>
              <figcaption class="blockquote-footer mb-0">
                From the CEO
              </figcaption>
            </figure>

          </div>
        </div>
      </div>
    </div>
  </div>
</section>

Answer №1

<section class="vh-100" style="background-color: #eee;">
  <dizv class="container py-5 h-100">
    <div class="row d-flex justify-content-center align-items-center h-100">
      <div class="col col-lg-12">
        <div class="card" style="border-radius: 30px;">
          <div class="card-body p-12">

            <div class="text-center mb-4 pb-2">
              <img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-quotes/bulb.webp"
                alt="Bulb" width="100">
            </div>

            <figure class="text-center mb-" >
              <blockquote class="blockquote custom-width-from-the-ceo">
                <p class="pb-3-new">
                  <i class="fas fa-quote-left fa-xs text-primary"></i>

                  <div class="wider-text">
        <span class="lead font-italic">
            Kao was established in Istanbul in 1995 by a visionary and dynamic team with three decades of experience in machinery, electronics, and metrology. Through a dedicated R&D unit and state-of-the-art manufacturing facilities, Kao has been able to deliver exceptional products that excel in technical capabilities, design, elegance, and longevity. The company specializes in producing metrological testing devices with unparalleled accuracy and user-friendly interfaces, aiming to enhance the efficiency and effectiveness of metrology systems for a reliable future. Each product developed by Kao-Metrology is seen as an enabler of new possibilities, emphasizing collaboration with industrial partners. Your feedback on our products and technologies is invaluable as we strive to create a brighter tomorrow than today...
        </span>
    </div>
                  <i class="fas fa-quote-right fa-xs text-primary"></i>
                </p>
              </blockquote>
              <figcaption class="blockquote-footer mb-0">
                From the CEO
              </figcaption>
            </figure>

          </div>
        </div>
      </div>
    </div>
  </div>
</section>

By creating a wider text class within the text-center element, I was able to resolve my issue effectively.

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

Discrepancies in Span Element Behavior Between Firefox and Chrome

Seeking assistance with a tooltip feature that reveals extra information when a user hovers over a span. The issue arises when the span is split across two lines, causing the extra information to appear in different positions on Firefox and Chrome browsers ...

One of the paragraphs refuses to align with the others by floating left

Greetings everyone! This is my first time posting here, although I have been a regular visitor looking for answers on this site. Hopefully, someone can assist me with my current issue. Let me explain my problem: I've been attempting to align all the ...

Picture is not appearing on the image carousel

I'm currently working on a dynamic image slider, but I'm encountering an issue where the images are not showing up. I can successfully upload images to my file directory, so I'm not sure if the problem lies within the database or elsewhere. ...

What is the best way to adjust the size of a toggle button

My HTML page is equipped with a toggle button that has its own CSS properties, but I am facing an issue where the size and length of the toggle button are not aligning with the initial position set. https://i.sstatic.net/HVFY8.png Upon toggling the butto ...

Passing a value from a prop to a click event that is dynamically created within an SVG Vue.js

Currently, I am in the process of developing a map component using a JSON array and implementing a click event handler for each item. The objective is to toggle the CSS style to color the item when clicked, which is functioning as expected. However, my goa ...

Tips on inserting text into form input fields

I need some guidance on how to enhance my form input functionality. The form currently consists of an input box and a submit button. When the user clicks submit, the form content is submitted and processed using javascript. What I am aiming for is to autom ...

Emphasize certain VueJS elements for focus

Currently, I am working with a Vue file and I'm interested in highlighting the active element. Can you recommend the most efficient method to achieve this? <li @click = "selectedComponent = 'appBugs1'"><i class="ion-bug"></i& ...

The session name has not been properly defined

Sorry for any errors in translation. I'm facing an issue where the session name I insert is coming up as undefined. However, when I manually enter the username, everything works fine. View Image <? php session_start (); echo var_dump ($ _SESSION ...

Accessing variables from child controllers with populated select inputs in Angular

I'm currently facing an issue involving 3 controllers: Parent Controller: DocumentController Child Controller1: XdataController Child Controller2: CompanyController The child controllers are used to populate data in three Selector inputs on the fron ...

Could the absence of an external style sheet for CSS be hindering the execution of my code?

A generous Stack Overflow user provided me with the code you see here and their JSFiddle can be accessed at http://jsfiddle.net/f18513hw/. The code functions properly in JSFiddle. I copied and pasted the code into my Textpad, saved it in my htdocs folder o ...

Why does my 'click' event listener only work for the first two <li>'s and not the others?

I am new to programming and recently achieved success with my 'click' eventListener. When clicking on the first two li elements within the ul, the class of the div toggles on and off as expected. However, I encountered an issue where clicking on ...

What causes the lack of impact when editing bootstrap.css files in an ASP.NET Core Web App?

As I dive into ASP.NET, I decided to start by creating a default Web App template in Visual Studio. To my surprise, despite having bootstrap.css files in the wwwroot folder, any changes I make to them seem to have no effect on the website's appearance ...

Retrieving an HTML page from one location and automatically populating textboxes with preexisting values on the receiving end

I'm currently facing a dilemma. Here's the issue: I need to load an HTML page (let's call it test.html) when a button is clicked on another page (referred to as home page). The test.html page has input boxes that I want to populate with p ...

Receiving a 200 ok status, but encountering a response error in Postman

Receiving a response with a 200 OK status, but encountering an error message in Postman. { "errors": "Unable to log you in, please try again.", "success": false } Post Url: [{"key":"Content-Type","value":"application/json","descript ...

What is the best way to create a never-ending horizontal animation that moves a logo image from right

I have a dilemma with displaying my logo images. I have more than 10 logos, but I want to showcase only 6 of them on page load. The rest of the logos should slide horizontally from right to left in an infinite loop. Can anyone assist me with creating keyf ...

The hover effect on the menu button is not covering the entire button when the screen is resized

It appears that I am encountering a problem with the hover functionality. When my screen is at full size, hovering over a menu option causes the entire background color to change. However, upon resizing the screen, only a part of the background color chang ...

Troubleshooting the malfunctioning AngularJS ui-view component

My ui-view isn't functioning properly, but no errors are being displayed. Can anyone help me figure out what I'm missing to make this work? This is the main template, index.html. <!DOCTYPE html> <html> <head> <meta charset= ...

displaying a Google Map within a designated container

I'm currently working on a basic website layout that consists of a full-width banner, a left menu (200px), and right content (600px). I have a simple jQuery script set up to load the content on the right-hand side when any of the five menu items are c ...

Retrieve the chosen item from the autocomplete feature

Unfortunately, I have encountered an issue with this solution as I was unable to get it to work correctly in my code. The objective is to retrieve the selected item and then call another function to utilize it. The script is as follows: <script type=" ...

Creating a sleek dark-themed table using Bootstrap's HTML

While browsing through https://getbootstrap.com/docs/4.0/content/tables/, I came across a table with a really dark background towards the bottom of the page. I tried copying the code into an HTML document, but it didn't seem to work. After tinkering w ...