I’m using this wordpress theme and I need to change a value in a div class on the homepage.
This div class is
<div class="vertical-center">
and there is the inline value
style="padding-top: 132px;
I tried to find where is the setting of this value
- with the text editor searching in files (.js, .css, .php): none
- Theme option setting in admin: none
- into mysql database: none
and this value does not appear in the source page, but you can see it with the inspector ( using chrome)
Where is this value and how to change it???
Thanks
The padding-top style is being applied by some JavaScript inside
/javascripts/main.js
in your active theme folder (dignity).The line applying this styling is:
If you want to remove it one option would be through the use of CSS:
By using
!important
you’re overriding the inline style.Make sure you’re doing this in a child theme or an appropriate area to add custom CSS to avoid it being overwritten if you update the theme.