That works if you put your code in header.php, copied in the childtheme, after the line:
<header id="masthead" class="site-header" role="banner">
My html code is:
<div class="logo-right-text">
<span style="font-size: 14px; font-weight: bold; color: #555;">1800-123-456-22</span>
<div class="clear" style=" height:3px;"></div>
<span style="font-size: 14px; font-weight: bold; color: #555; ">[email protected]</span>
</div>
And CSS:
div.logo-right-text{ margin: 0px 10px; }
div.logo-right-text { float: right; text-align: right; }
.logo-right-text{ padding-top: 42px; }
But finaly I’ll try to put these 2 phone and mail in the menu line… if I find how to do 😉
Related Posts:
- Adding first / last CSS classes to menus
- WordPress Admin Bar pushed Sticky Footer off the bottom of the page
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- “wp_enqueue_style();” don’t load new edited style
- functions.php not adding css to website?
- if file_exists not working with wp_enqueue_style
- Want to create Child theme, but already edited Parent theme css files and some php files
- Using PHP to toggle stylesheet and header image, set in cookie
- Archive dropdown styling not applied
- Different background-image by category
- Add a Different CSS Class Into The Body Tag of Different WP Pages
- Put CSS inside a PHP file and include it the right way
- Missing sidebar parameter “fix” – before_content
- How Display Posts on category
- Slider loading issue
- Parent theme CSS overriding child CSS rules
- How to style options page in dashboard?
- Theme Options Page – User Updates Logo
- How to use my style.css file outside of wordpress subdomain?
- Dynamic Stylesheet loads but doesn’t finish
- How to add date to navigation bar
- Can I install/embed WordPress on a ‘single page’?
- Incorrect MIME type for assets with Valet
- Customize position of social icons in upme plugin [closed]
- Css loads very slow [closed]
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Which is the correct way to conditionally enqueue a CSS file?
- Custom Background by Page IDs
- Use PHP in stylesheet to specify a background image based on Category ID
- Change CSS based on is_user_logged_in
- WordPress wp_add_inline_style unable to give hex colors?
- How to create table in wordpress without plugin? [closed]
- Add class to DIV depending on page loaded
- Liking a facebook page from wordpress website?
- trouble with page_id & highlighting current page
- wordpress admin plugin menu custom css
- Change “No Comments” link to “My String” on Blog Post (Find Snippet in Code or use CSS, PHP Solution) [closed]
- Where can I find the inline-css of my theme header?
- Menu Custom Data Attributes
- Highlight the links without using dropdown
- Website completely messes up when logging out
- Issue Enqueueing WordPress style.css
- How to add new CSS file to new PHP file
- Applying CSS on PHP variable [closed]
- CSS images don’t show up with bloginfo
- how to changes mobile menu toggle breakpoint in WordPress
- Timber right sidebar in WordPress theme
- How to find which .mo file is responsible for displaying a particular localized string?
- How to Remove Theme Style CSS inside Custom Plugin?
- Add other class content with reference class value
- oceanwp+woo mobile cart sidebar text
- Adding Custom css file in the wp-uploads directory with custom php functions
- How to hide a div section when user is logged in, in single product woocommerce
- How do I integrate vanilla Javascript to a wordpress website?
- Can’t display anything through homepage text editor
- Cannot dequeue Elementor Font Awesome css
- How to find and delete a menu item in php?
- WordPress Slider is not working
- How to display post meta bellow every posts
- Add my footer menu to the header
- Add Shortcode to ::before class
- Make a full-width wordpress page
- Fix hover images blink
- Bring Font Awesome icons inside menu A tags
- Blog Image and Title in Right Sidebar
- Trying to add get_the_title hook to this line
- How to display post_content from database in different on template page?
- Displaying POST content with HTML tags and all
- remove blank space where sidebar was
- How to add Open/Close Toggle button into Twenty Fifteen theme for hiding left sidebar?
- Display specific main Sub Nav on Woocommerce product pages
- Position a repeated article blocks
- Clone the “proceed to cart” button and place it above checkout on the cart page, but only appear display size is 320px
- Highlight Single Page Ancestor
- Custom Thumbnails [closed]
- Relative post date in recent posts list
- Why isn’t my link attribute getting my css?
- How to save the output of php variables used in inline css code to the main style.css?
- wp add inline style in loop
- Display pages from specific page template
- Trying to customize wordpress drop down categories
- How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?
- Sidebar doesnt get updated?
- How to NOT override inline css rules
- Add CSS class to PHP Statement
- How to add margin underneath woocommerce total price amount -> productpages
- Load files content [closed]
- Integrating CSS Into a WP Function Call [closed]
- Load slideshow.css file only if Slideshow is checked / on
- Predefine Magazine Style Layouts
- It’s not showing full content for posts pages in wordpress “[…]” while customing some changes in the style.css file [closed]
- Add a “Next Post” & “Previous Post” styled button manually to a post
- Sorting Problem
- Custom HTML/CSS Theme into WordPress – SEO considerations
- WooCommerce Checkout Cart [closed]
- why css file not link?how to create permalink?
- Using Featured Image as Hero Background in Word Press
- Live Preview while customizing is not showing the updates while editing in WordPress
- Hide or Show Read More Button by Content Area