portrait mode issues

Home Forums Porto – Responsive HTML5 Template portrait mode issues

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10043248
    Resilient Brands
    Participant

    good evening,
    can you please help me with the following:
    can you please look at my site and scroll down to the bottom of the page where you will find a stock chart embedded in the page.
    when I view it in portrait mode on a tablet or smartphone the image is not centred.
    Is it the dive that I am using that is causing this issue?
    I am embedding the stock chart inside the following div:
    <div class=”container py-3 my-5″>
    <!–STOCK CHART–>
    <div class=”col-lg-9″>
    <!– TradingView Widget BEGIN –>
    Am I using the wrong div container?

    thanks in advance for your assistance.
    take care,



    Template Version: Demo corporate 16
    #10043256
    Support
    Keymaster

    Hello, sorry but it’s not actually related to our template files and support and we don’t have a TradindView plugin compatibility for Porto, looks like that Iframe has a fixed width, so my suggestion is that you try this:

    @media (max-width: 991px) {
    	.tradingview-widget-container iframe {
    		width: 80vw !important;
    	}
    }

    * You may need to adjust those numbers.

    Kind Regards.


    #10043259
    Resilient Brands
    Participant

    Thans for trying to assist with this question.
    Do I enter the information above on my custom css file?


Viewing 3 posts - 1 through 3 (of 3 total)

This topic is marked as "RESOLVED" and can not rceive new replies.