-
Hi,
I’d like to add another line/row to the contact in the header (for an address). Tried tweaking the stylesheet.css and header.php but can’t seem to get the formatting correct … can you help?
Thanks,
ScottHere’s what I added to theme-options.php:
array(
‘label’ => ‘Header Address’,
‘id’ => ‘header_address’,
‘type’ => ‘text’,
‘desc’ => ‘Enter your Address if you want it to appear in the theme header’,
‘std’ => ”,
‘rows’ => ”,
‘post_type’ => ”,
‘taxonomy’ => ”,
‘class’ => ”,
‘section’ => ‘header’
),And to stylesheet.css:
.header_address {
height:20px;
margin: 10px 0 36px;
font-size: 12px;
color:#888888;
}And to Header.php:
< ?php if($header_address= ot_get_option('header_address')){?>
< ?php echo $header_address;?>< ?php } ?>
- Theme support is offered to verified customers only. To post a topic go to your Theme Category and add your question at the page bottom.
Theme Categories
Recent Topics
- Alea updates
- Why "Fortune" theme is no longer available?
- PHP 8.1 Error
- Issue with WPB editor icons
- Issue with Icons and Text Alignment for Arabic Content
- Installing and Activating Plugin Fortuna Portfolio CPT (1/8)
- Testimonials page is blank
- warning boc_framework line 905
- Transparent header issue without changes
- Slider Revolution error