Hi,
I am testing the functionality of Vantage Premium, before installing it on live sites.
I have made the below mentioned testsite.
When I resize the browser window, the header logo is overlapped by the header widgets before it line breaks.
In other words, the social icons are moving in behind the logo, instead of breaking to a new line.
Is there a way to control the point, where the widgets are placed below the logo?
2. question: In mobile mode, is there a way to center the content of the right header widget?
Thanks in advance.
HC
Hi Hans
This point can be changed but to do properly requires all of the below dropped into Appearance > Custom CSS:
Adjust the 960px figure to suit your needs.
You’ve used inline CSS in the header text paragraph so to override that, include the following under Appearance > Custom CSS:
Thanks Andrew,
The first part did the trick, and worked nicely, but the second part has no effect.
It is implemented on my site now, so perhaps you can see there why nothing happens?
Sorry, please use:
Perfect,
– however the social media icons still floats left on browser widths between 960px to 680px.
Can that be fixed too?
Sure, here we go:
Excellent!
Thanks Andrew :-)
For sure :)
Hi again Andrew,
I am experimenting with another social media icons plugin, and I don’t seem to be able to find the correct css selector to make this center on mobile, like you helped me with the Vantage Social Media above.
Can you help me with the correct css selector to center the social media icons in mobile mode, that are now online on my test site?
http://wpwork.zkagen-marketing.dk/
Even better, can you tell me how I find it myself?
For sure, try this:
The widget is declaring its own styles right before the icons and is using !important so my CSS might not work.
Here is how I’m inspecting the source: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/
Here is the theory behind inline-block lists vs floated lists: http://www.ternstyle.us/blog/float-vs-inline-block
Just check out the first link though. The second one is pretty specific to this situation, bit of a boring read.
Hi Andrew,
Thanks for you help width this.
You are right, it does not work. However I got it to work by removing the !important from the plugin source file, but then I have to change it every time the plugin gets updated.
I think I read somewhere, that SiteOrigin is working on an advanced Social Media Icon plugin. So it might just be better to wait for that.
Glad to hear you found a temporary solution.
We should be pushing an update to the Widgets Bundle plugin in the next week or so with our new Social Media widget in there. Looking forward to it!