问题描述
我正在使用 Elementor 页面构建器开发一个网站。我为博客文章创建了一个模板,现在我遇到的问题是,当从移动设备打开博客文章时,它们的左侧几乎没有空白。 Here 是指向存在问题的博客文章的链接。 Screenshot is here
解决方法
检查这些容器的 CSS import requests_html
from requests_html import HTMLSession
from requests_html import HTML
import re
import pandas as pd
from time import sleep
from random import randint
session = HTMLSession()
from url retrieve links for states with providers
(loop) from states retrieve urls for cities with providers
from city_page in cities:
Retrieve data about individual providers from each "card"
(max 10 "cards" per page) Everything is fine up to this point.
Here is where I am lost. Sometimes a city only has one or two providers and that works
just fine. Sometimes there are 50+ providers at 10 per page. There are links to the
extra pages at the bottom of the container/ [<element>].
。减少它会使其更靠近页面的左侧。
padding-left