Hello,
I have a problem with my navigation bar alignment. I’m using Vantage premium, and I’m all new about this. I have a basic idea on how to deal with all different types the theme files. I have spent fair amount of time trying to figure out a solution for my problem with no luck.
my domain is Alshareeflawfirm.com
I know it is Arabic!! but I named one page Problem and the subpages 2nd problem and so on just to explain my problem little bit easier.
My question is, whey does the alignment of the text in these pages is not centered? and how can center the page called Problem and right align the subpages?
Thank you for you help
Ebrahim
Main navigation alignment
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Alshareef
The problem lies in the child theme style.css file. Perhaps you can ask the developer of this file to assist a little.
If you want to try yourself, at Appearance > Editor > style.css there are four rules that are a problem, you’d need to use in page search to find them:
I think that’s all of them. In each case, change the 0 value to match whatever the second value is. For example, in the last rule above, you’d change 0 to 38px.
Thank you for your response. I developed this file myself. There was no one to ask but you guys :)
However, I have solved the problem, which was in the file rtl.css which exist only in the Arabic version of WordPress to support right to left appearance. The original file is in Twenty Fifteen theme. I changed the rtl.css in the child theme which overwrites the original one which in turn overwrites the style.css in the Vantage theme. Long story!!
I just added the same codes that you pasted and did what you told me. And it’s all good now.
I thought some people out there might benefit from such problem.
Thank you Andrew.
One question is still remaining, How to align the submenu to the right? or even center it?
Thank you
Awesome :) Nicely done!
Sorry for missing the sub-menu question. Try adding:
Hope that helps.
Thank you Andrew. That helped.
One thing that I had to deal with which is the submenu position. After I aligned the submenu text to the right, something didn’t look good because the submenu box is margining to the right not to the left, as if the website language was English.
I had to write this code in style.css in the cilld theme:
tags.
I changed the left value from 0 to -73px to shift the submenu box to the left. It worked just fine.
Thank you.
Ebrahim Alshareef
Awesome :) Glad to hear you’ve made progress. Thanks for sharing.