How to add/fix body background position
-
I would like the top of the body background to line up with the bottom of the header menu instead of post category and follow bar. May I ask if it is possible to fix by manipulating codes or adding an option to the body background position in the ‘theme options’ admin interface?
Here is what I’ve done:
In the file ot-functions-admin.php, add the following:
return apply_filters( 'ot_recognized_background_position', array( /* ADD LINE BELOW */ "left -60px" => "Left Top -60px", "left top" => "Left Top", "left center" => "Left Center", "left bottom" => "Left Bottom", "center top" => "Center Top", "center center" => "Center Center", "center bottom" => "Center Bottom", "right top" => "Right Top", "right center" => "Right Center", "right bottom" => "Right Bottom" ), $field_id );
The option is available in the dropdown menu in my theme set-up, but after selecting the “Left Top -60px” option, nothing happens on the actual website.
Would someone so kindly point me in the right direction? Much thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to add/fix body background position’ is closed to new replies.