I try to add a language flags (like a images with links) in my wordpress custom theme. Images work correctly, but their links did not work.
My code: header.php
<div class='container'> <div class="flags-holder"> <div class="flag"> <a href="http://example.com"><img src="http://example.com/imgs/en-english.png"></a> <a href="http://example.com/en"><img src="http://example.com/imgs/ru-ruskaq.png"></a></div> </div>
Stylesheet.css
#top .flags-holder { float: right !important; width: 100%; margin-left: auto; margin-right: auto; font-size: 11px; height: 20px; position: relative; padding: 0; left: 10%; z-index: 100; } #header .container{ z-index: 99; padding-top: 4px; padding-left: 73% !important; } .flag { height: 20px; float: right !important; overflow: hidden; display: block; width: 100%; margin-left: auto; margin-right: auto; position: relative; right: 0; top: -1px; }
Related Posts:
- how do u change the link color of one specific link in wordpress?
- How to convert JPG to PNG on upload in WordPress (via add_image_size)?
- How To Change Default Image Thumbnail Sizes in WordPress
- WordPress how to remove blocksy theme price and put my own price
- WordPress: How to overlay text / widget div on top of a revolution slider
- Links not clickable on mobile devices in WordPress
- Is it possible to combine a WordPress template (Semplice) and some HTML & CSS pages?
- WordPress: “Sorry, this file type is not permitted for security reasons” when trying to upload standard image files
- Embedding a Square Appointments script into a WordPress site – it’s rendering fullscreen in the preview pane, so I can’t edit other content. Thoughts?
- Changing code font size on wordpress
- WordPress website broken in Facebook mobile browser
- Internet Explorer 8 issues with WordPress 3.8
- WordPress / Elementor site doesn’t load full or correctly
- Internet Explorer 8 issues with WordPress 3.8
- Set size of WordPress thumbnail post
- WordPress Salient theme: getting a full width 2 columns portfolio
- Lucida calligraphy font not working wordpress site in android chrome
- How to apply font on WordPress?
- Cuelinks widget’s half part is getting hidden on WordPress website
- WordPress media upload define default meta values
- facebook- wordpress post not showing pictures on fb link
- Adding style.css in wordpress, the correct way
- Full width image in separated row on wordpress (Ref attacted)
- Custom CSS in WordPress messing up
- Is element block level or inline level?
- Not Authorized to View This Page
- Bootstrap 4 images thumbnail classes
- CSS centred header image
- What does this mean in my website console: “JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js?ver=1.4.1:2 “
- Add a link to an image in a css style sheet
- CSS background images in WordPress
- How to get multiple images to auto resize and stay centered within a div
- How to implement inline cm/inches conversion in WordPress
- How do I use WordPress with HostGator?
- How to change thumbnails for WordPress pages (KakaoTalk)
- My UPS shipping method is not working in wordpress project
- WordPress asking for my FTP credentials to install plugins
- how can i get a sign in/ Register plug in like fiverr.com’s on WordPress
- WordPress makes an auto-draft as soon as I enter the page
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- How can I block doubleclick.net cookie from my wordpress website?
- WordPress on XAMPP setting up Zoho mail
- display data on wordpress site using mindbody api
- wordpress – want to connect my ABOR(Austin Board of Realtors)website to RETS Matrix
- Exclude Featured Posts in WordPress ‘Recent Posts’ Function
- How to login into wordpress.com using HtmlUnit?
- php, cookies, wordpress – how to make automatic login in one one site, login and on other one
- 403 Forbidden You don’t have permission to access / on this server new WordPress install
- WordPress Login Tracking Google Analytics
- Binance Long Short Ratio Chart In WordPress
- WordPress – Check if user is logged in
- WordPress theme creation : There are no widget areas on the page shown
- nginx progy pass doesn’t work in WordPress admin
- How to download wordpress source code?
- WordPress: Loading multiple scripts with enqueue
- WordPress: Loading multiple scripts with enqueue
- How to add custom javascript to WordPress Admin?
- How to transfer HubSpot blog to WordPress?
- WordPress Email Share button not opening in Outlook
- how to parse wordpress post_meta table values
- Free e-signature in wordpress
- how to create a custom live search in WordPress from scratch
- wordpress Simple Job board plugin hide cv attachment form
- How can I access http://localhost/wordpress/wp-admin/install.php?
- W3 Total Cache WordPress plugin disturbing my page layout
- How to fix the “508 Resource Limit is reached” error in WordPress?
- Exclude tags from gatsby-source-wordpress-experimental
- cannot change admin password, wordpress on godaddy
- removing a link from a date in wordpress
- WordPress footer menu floating with height of footer
- How do i give a WordPress editor access to the Site Kit by Google plugin?
- Permalinks in WordPress not working
- cannot change admin password, wordpress on godaddy
- how to add gravity forms to blog page(posts page) in WordPress
- How to fix facebook sharer button that appears cutted on wordpress
- WordPress Order by date on custom post type archive page
- Is there a way to install elementor to a free wordpress plan?
- wordpress frontend login and wp-admin not working right
- WordPress / Gravity Forms – Show/hide a div based on value of a number field
- WordPress post image change on hover (ACF?)
- WordPress- url for localhost wp-admin is not working
- WordPress Neve theme – main navigation css
- WORDPRESS Updating failed. Error message. The response is not a valid JSON response
- WordPress “Save Draft” fails: “the response is not a valid JSON response”
- Get Categories of events in WordPress Events Calendar Pro Plugin
- Amazon Workspaces VM prevented from logging in to WordPress on DreamHost
- Converting endnotes to hyperlink for export to WordPress
- WordPress Update to 5.6.1 – still keeps Version 5.5.3
- How to correctly use get_template_directory_uri() WordPress function to load an image that is in a subfolder of my theme?
- WordPress wants to install itself, rather than run the blog
- Error establishing a database connection in my localhost
- WordPress PeepSo modification – display WP comments in activity stream
- Correct way of using wp_get_attachment_image() in wordpress
- WordPress: save `get_template_part()` to variable
- How to easily add cropped screenshot to self-hosted WordPress as hosted image?
- stripe payment icons on small wordpress
- Which ways can be used to log in to WordPress?
- Creating Admin Options Page where users can make changes to a theme
- Import HTML code that loads css and javascript into specific page