
-
AuthorPosts
-
May 27, 2016 at 5:03 pm #639390
Hi!
I want to change position portfolio button. I try to add to quick css this code:
#top .avia-post-nav{ position: absolute !important; top: 300px !important; } .avia-post-prev{ left:20%; } .avia-post-next{ right:20%; }
But problem with this solution is when aj change size web browser change position buttons.
I want position button independent from web browser! Look at the picture:Thanks for help.
JozefMay 27, 2016 at 6:18 pm #639453Hey jozef,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
AndyMay 28, 2016 at 8:47 pm #639836Hi Andy,
I can send you admin account for my website because now is in maintenance mode. I have edited avia-post-nav buttons in css. I want to change the position of these buttons. I want position button independent from screen size! I can not use some % from left or right size. Check the picture.
I hope that clear for you. Thank for help.
Jozef
-
This reply was modified 9 years, 1 month ago by
funes42.
May 29, 2016 at 12:34 pm #639973Hi,
We need to see the site live in order to help you with your request.
Best regards,
JosueMay 29, 2016 at 1:59 pm #639991May 30, 2016 at 12:46 pm #640286Hi,
Please add following code to Quick CSS as well
.responsive #top .avia-post-next { right: 20%; } .responsive #top .avia-post-prev { left: 20%; }
Best regards,
YigitMay 30, 2016 at 1:06 pm #640315Hi,
thanks but still not working correctly! Because still is depend on the horizontal size of a web browser.
check image pls!
Jozef
-
This reply was modified 9 years, 1 month ago by
funes42.
May 31, 2016 at 7:16 am #640711Hi,
You have to modify the footer.php file and remove this code:
echo avia_post_nav();
After that, add this in the functions.php file:
add_action('ava_after_main_title', 'ava_after_main_title_mod'); function ava_after_main_title_mod() { if( is_singular('portfolio') ) { echo ' <div class="portfolio-post-nav">'; echo avia_post_nav(); echo '</div> '; } }
We wrapped the post navigation inside another container so that we can manipulate its position. Example css:
#top .portfolio-post-nav { position: absolute; right: 0; } #top .avia-post-nav { position: relative; float: left; margin: 0 50px; }
Best regards,
IsmaelMay 31, 2016 at 8:16 am #640731Hi Ismael!
Thanks man, this is successful solution!
Best regads,
JozefJune 1, 2016 at 4:55 am #641191 -
This reply was modified 9 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.