WordPress.org

Make WordPress Core

#50772 closed defect (bug) (invalid)

I added a scrolling text in header.php, i successfully added it but i dont know how to make the text compatible to mobile screen.

Reported by: sai1503 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Here i attached the php code that i added. kindly suggest me the changes that i need to make in code so that the scroll text will adjust to screen size.

<?php
<marquee behaviour="scroll" direction="left" SCROLLDELAY=0 SCROLLAMOUNT=10 WIDTH=1380 HEIGHT=40 span style="color:#ff3b3b">
<h2>Due to rapid hike in COVID-19 cases, we are pausing our services for your safety. Sorry for the incovenience and we hope for resuming our services soon..! </h2></marquee>

Attachments (1)

scroll.JPG (33.8 KB) - added by sai1503 16 months ago.
this is the mobile view of my website. Because of scroll text it got zoomed.

Download all attachments as: .zip

Change History (2)

@sai1503
16 months ago

this is the mobile view of my website. Because of scroll text it got zoomed.

#1 @SergeyBiryukov
16 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for individual support questions.

Please try the support forums to get help with your site: https://wordpress.org/support/forums/.

Note: See TracTickets for help on using tickets.