Hello and see my website. since the latest wordpress you can add CSS to the menu. i want to move the last 2 menu items to float right. With adding CSS i can't do this because when i add an css attribute in the menu, i can't edit it.
zee my attachment.
i have soledad Photograpic magazine style, latest wordpress and i have read the manual for this theme.
Hello and see my website. since the latest wordpress you can add CSS to the menu. i want to move the last 2 menu items to float right. With adding CSS i can't do this because when i add an css attribute in the menu, i can't edit it.
zee my attachment.
i have soledad Photograpic magazine style, latest wordpress and i have read the manual for this theme.
Can you help me? Thanks.
Hi,
Please try add more this code to Customize > Custom CSS to do that:
@media only screen and (min-width: 1170px){#navigation .menu {
width: 1130px;
}
#navigation ul.menu > li:nth-last-child(1),
#navigation ul.menu > li:nth-last-child(2) {
float: right;
}
#navigation ul.menu > li:nth-last-child(1){
margin-right: 20px;
}
}
@media only screen and (min-width: 961px){
#navigation .menu {
width: 910px;
}
#navigation ul.menu > li:nth-last-child(1),
#navigation ul.menu > li:nth-last-child(2) {
float: right;
}
#navigation ul.menu > li:nth-last-child(1){
margin-right: 20px;
}
}
Best Regards,
PenciDesign
Hi,
This works, many thanks for that! I love you're themes.