Jump to content

Archived

This topic is now archived and is closed to further replies.

leftcoastmichael

Specify horizontal location of RevSlider slide text

Recommended Posts

leftcoastmichael

Hi. Just wondering what the short code is for specifying the horizontal location of the RevSlider slide text.  Looks fine on browser but it's cut off in mobile view....

 

eMmSp3H.png

Share this post


Link to post
Share on other sites
James B

Hi there,

 

There isn't a shortcode for the text alignment in the mobile view specifically. We we take a live url to the page so we can see first hand what's happening in the code for you.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
leftcoastmichael

James B, It's ok if there's no short code for the mobile view; I don't mind adjusting the text in the main view so that it accommodates the mobile view.

 

http://leftcoastlogic.com/products/ampm

Share this post


Link to post
Share on other sites
Danny

Hi,

 

To change a specific aspect for mobile devices such as tablets or phones, you will need to use @media queries, you can not do it via a shortcode. For more information on @media queries see here - http://css-tricks.com/snippets/css/media-queries-for-standard-devices/

 

However, when I view your site and resize my browser window, my console displays a large number of errors that is constantly increasing when I change the width of my browser. These errors are coming from both jquery and resize scripts. Therefore, you most likely have a custom script or plugin that is causing this error, which is preventing your text from resizing correctly.

 

I recommend you disable all active plugins (except for DMS Pro Tools) and any custom scripts and see if this resolves your issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
leftcoastmichael

 

 

 

 

I recommend you disable all active plugins (except for DMS Pro Tools) and any custom scripts and see if this resolves your issue.

 

Danny, that didn't seem to work. In the case of the right-aligned text, it's simply too long.  I think the solution would be to simply reposition the text - in the browser view (forget about mobile view). Is there a way to do this?  For example, can I just over-ride the code to place the text at any x/y coordinates? I know you can do that for "slide extra elements" such as embedded videos. 

Share this post


Link to post
Share on other sites
Danny

Yeah, if you want to add your own text in its own position, you can use the options via x/y. See my reply here explaining how to add a video, you can use this as a base for your custom text.

 

http://forum.pagelines.com/topic/28168-revslider-how-to-add-video-and-have-it-resize-properly/page-2#entry171007

Remember to view the inline documentation link which takes you to the revsliders documentation.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      }
       
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
      Thanks
      Michael
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
    • stijnxo
      By stijnxo+
      The Filtering of categories in the Masonic Gallery refreshes back to ALL categories when the DMS Revslider loads a new image?
      Anybody any idea? See Artists Category refreshes back to ALL when the DMS Revslider with images on the top loads a news image on http://www.18hrsfestival.nl/
    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
×