hello, how can i reduce the high of a section? i gave it a css name: s1 and i need the picture that is in that section - to be in the center from top and bottom of that height...
how exactly you want to reduce hight of the section? Because the height of the section section always fit to content inside. But to setup image for section, you must setup background image for section item.
i'll give you example from this url: http://www.shefa.digital/li1/ i added a css name to the section that i want to change: S and that the code that i used: .s { max-height: 120px;} it worked and the section height is reduced as i wanted, but now the text padding on the bottom of the section. how to make to fit in the center of the section?
The explanation you sent above is properly. But please send us screenshot of the second part because we have no idea which padding you want to control as we see all is fine now.
How? Sorry but this question should be sent to developer who is responsible for building website because those errors are completely not related with theme.
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
how exactly you want to reduce hight of the section? Because the height of the section section always fit to content inside. But to setup image for section, you must setup background image for section item.
http://www.shefa.digital/li1/
i added a css name to the section that i want to change: S
and that the code that i used:
.s { max-height: 120px;}
it worked and the section height is reduced as i wanted, but now the text padding on the bottom of the section. how to make to fit in the center of the section?
thank you.
please look - the padding between the top and the bottom of the section isn't equal
that's the picture url:
http://www.shefa.digital/wp-content/uploads/2015/04/text.png
and that's the page url:
www.shefa.digital/li1/
i want the text to be in the center of that section.
thank you
how to fix them?