Trouble with displaying CSS rollover menu animation efficiently

I'm encountering an issue with a hidden menu that appears on rollover of another div. It's not displaying correctly and it's driving me crazy. I've uploaded a fiddle and images to show how it should look versus how it currently appears.

/** CSS Styles */
.ts-layout {
    
}
/* Header Styling */
.ts-header {
    /* header styles here */
}

/* Menu Activator Styles */
.ts-menu-activator {
    /* menu activator styles */
}

/* Menu Area Styles */
.ts-menu-area {
    /* menu area styles */
}

/* View Styles */
.ts-view {
    /* view styles */
}

/** Additional helpers */
.no-select {
    /* no-select styling */
}

.vertical-text {
    /* vertical text styles */
}
<div class="ts-layout" ng-controller="app.views.layout.header as vm">
            <div class="ts-header">
                <!-- Header content -->
            </div>

            <div class="ts-menu-activator">
                <!-- Menu activator content -->
            </div>

            <div class="ts-menu-area">
               <!-- Menu area content -->
            </div>

            <div class="ts-view">
                <!-- View content -->
            </div>

        </div>

Any assistance or recommendations would be greatly appreciated :)

If anyone can advise why my text isn't displaying vertically, that would be fantastic!

https://i.sstatic.net/9zFf7.png https://i.sstatic.net/IBX9l.png

Answer №1

To make the change, simply replace the <span> tag with a <p> tag. Check out this demonstration on fiddle: https://jsfiddle.net/CREATIVE_JONES/wasrpk85/9/

<div class="ts-menu-activator">
<p class="vertical-text">EXAMPLE</p>
</div>

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

Adjusting unseen (white text) results within the RStudio layout called `Cobalt``

I am currently using R Studio's Cobalt theme and have encountered an issue where the in-line output in Rmd files is not visible (white font on a white background). I need to change the font color to something that is visible. Below is a reproducible ...

Using JavaScript, create a set of buttons within a div element and implement

$(document).ready(function() { $('#b1').click(function() { $('#uch').toggle("slow"); }); $('#b2').click(function() { $('#uch2').toggle("slow"); }) }) Although I'm not a program ...

How can I incorporate a custom font into my Git Pages website?

Having trouble adding an external font to my GitHub page. The font is in my directory, but I can't seem to get it to work on the page at https://github.com/Aadesh9985/Aadesh9985.github.io I've attempted various methods without success... I came ...

Concealing table columns using JavaScript - adapt layout on the fly

I am currently implementing a responsive design feature on my website, where I need to hide certain columns of a table when the viewport size decreases beyond a specific point. Initially, I tried using .style.visibility = "collapse" for all <tr> elem ...

Exploring the functionality of Virtual Studio Design view while developing asp.net applications with compelling CSS design

When I use an external CSS to style my controls, the layout appears disorganized in the Design View of VS2008. Every time I make a modification to my CSS, I am unable to preview it in design view. Instead, I have to run the web page and open my browser to ...

Resizing and uploading multiple images with accompanying descriptions

I am in need of a solution for uploading multiple images along with descriptions. Users will be uploading 1-10 large-sized images from cameras, so it would be ideal if the images could be resized before the upload. My requirements are: Compatibility wit ...

Both paragraphs are on the same line

.footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: #3498DB; color: white; text-align: cent ...

What methods can be used to update a webpage with HTML content retrieved from a Rest API using AngularJS and NodeJS?

We are currently working on a decoupled AngularJS (1.8) application with Node.JS serving it, and we are exploring options for enabling server-side rendering of a view. Within Node (included as a route with HTML response): if (req.query.username) { / ...

The text sliding feature gradually moves further away from the left side with each iteration

I am in the process of transferring an existing slider from one website to another. Instead of creating a text slider from scratch, I decided to modify the code I found for the new site. However, the slider is not functioning correctly on the new site. Th ...

Passing data from AngularJS controller to DAO service

I'm currently facing an issue where I need to pass a variable from the controller to my DAO service in an AngularJS application (frontend) with a Node.js backend. Below is my controller code: $scope.afficherProfils = function() { $http.get(confi ...

Bootstrap's ability to display panels of equal height across multiple rows is a game

Just started using Bootstrap 4 after being familiar with Foundation for years. In Foundation, equalizer was a tool to ensure divs had the same height, which would be applied to all divs within a container. I understand that Bootstrap uses Flex, but I&apos ...

Notification box appearing on the homepage

I created a landing page featuring various products. Each product is accompanied by a description and price. When you click on a product, a "popup window" should appear displaying the picture and description. My concern is that if I have numerous product ...

Utilize JavaScript to insert image attributes

I've encountered this issue multiple times, where I face difficulties when attempting to use appendChild to add an img to a div. Below is the code snippet that showcases the problem: var picture = document.createElement("img"); picture.id= "xmark"; ...

Show the initially chosen option in a dropdown menu when updating a record using mysqli

I recently came across a PHP page that handles relocation requests and allows users to edit them as needed. While the add page features dropdown boxes, the edit page simply displays them as text fields. This makes it difficult for users to select a differ ...

iOS button on mobile Safari in the down state

Is there a way to customize the appearance of buttons in Mobile Safari so that they show my specified "down" (:active) state instead of the default semitransparent overlay when touched? ...

Steps for implementing a custom markup trigger with prettyPhoto:

Recently, I encountered an issue with my table view: https://i.sstatic.net/Fji2F.png Upon clicking the td, it should open the PrettyPhoto Lightbox In the default PrettyPhoto setup, the html trigger looks like this: <a href="images/fullscreen/2.jpg" ...

increased space between tables in HTML email design for optimal display in Gmail inbox

Here is the link to my code: http://jsfiddle.net/user1212/G86KE/4/ I am experiencing an issue in Gmail where there is extra white space between 2 tables inside the same cell. I have attempted using display:block; margin:0; padding:0; line-height:0; How ...

Exclusive Functionality: Bootstrap Drop Down Navigation in ASP.NET Only Functions on Main Pages

I am in the process of developing an internal application with ASP.NET 4.0 using the Yeti Bootstrap Theme. One issue I am encountering is with the navbar dropdown navigation. Pages that are located in the website's root can utilize the dropdown featu ...

Creating a HTML element that functions as a text input using a div

I am encountering an issue with using a div as text input where the cursor flashes at the beginning of the string on a second attempt to edit the field. However, during the initial attempt, it does allow me to type from left to right. Another problem I am ...

Fluctuate the window.location with jQuery or javascript

My goal is to create a functionality where clicking an image will toggle the window.location url between '#' and '#footer'. The current code I have for this is: <script> function clickarrow(){ var rd=Math.floor(Math.random() ...